staging: comedi: adl_pci9118: rename move_block_from_dma()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 19 Oct 2015 20:13:03 +0000 (13:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:17:13 +0000 (19:17 -0700)
Rename this function so it has namespace associated with the driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c

index ac1d298fae8dd9003a2164ee437d87829a0ec008..be0d2a7607ef9a35a950c91ffaf8a4c4a1742d0c 100644 (file)
@@ -457,7 +457,7 @@ static unsigned int pci9118_ai_samples_ready(struct comedi_device *dev,
        return n_samples;
 }
 
-static void move_block_from_dma(struct comedi_device *dev,
+static void pci9118_ai_dma_xfer(struct comedi_device *dev,
                                struct comedi_subdevice *s,
                                unsigned short *dma_buffer,
                                unsigned int n_raw_samples)
@@ -654,7 +654,7 @@ static void interrupt_pci9118_ai_dma(struct comedi_device *dev,
        }
 
        if (n_all)
-               move_block_from_dma(dev, s, dmabuf->virt, n_all);
+               pci9118_ai_dma_xfer(dev, s, dmabuf->virt, n_all);
 
        if (!devpriv->ai_neverending) {
                if (s->async->scans_done >= cmd->stop_arg)