Commit eb12dfc9 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: adl_pci9118: rename Compute_and_setup_dma()



Rename this CamelCase function.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7db6ed68
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -816,7 +816,7 @@ static int pci9118_ai_inttrig(struct comedi_device *dev,
	return 1;
}

static int Compute_and_setup_dma(struct comedi_device *dev,
static int pci9118_ai_setup_dma(struct comedi_device *dev,
				struct comedi_subdevice *s)
{
	struct pci9118_private *devpriv = dev->private;
@@ -1141,7 +1141,7 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
	devpriv->ai_act_dmapos = 0;

	if (devpriv->usedma) {
		Compute_and_setup_dma(dev, s);
		pci9118_ai_setup_dma(dev, s);

		outl(0x02000000 | AINT_WRITE_COMPL,
		     devpriv->iobase_a + AMCC_OP_REG_INTCSR);