diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2014-03-13 21:16:19 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 21:19:49 (GMT) |
commit | 9fe635cd864fb6196e11d6e0e172e1b5504de4ac (patch) | |
tree | 94280d0abca570957c85294540b808e03f1dc5ea | |
parent | 3521d454d27b1ceadefa407692fdbfa38c329a72 (diff) | |
download | linux-9fe635cd864fb6196e11d6e0e172e1b5504de4ac.tar.xz |
staging: comedi: gsc_hpdi: rename drain_dma_buffers()
For aesthetics, 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>
-rw-r--r-- | drivers/staging/comedi/drivers/gsc_hpdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c index f1af16a..400f5ec 100644 --- a/drivers/staging/comedi/drivers/gsc_hpdi.c +++ b/drivers/staging/comedi/drivers/gsc_hpdi.c @@ -225,7 +225,7 @@ static inline void hpdi_writel(struct comedi_device *dev, uint32_t bits, devpriv->hpdi_iobase + offset); } -static void drain_dma_buffers(struct comedi_device *dev, unsigned int channel) +static void gsc_hpdi_drain_dma(struct comedi_device *dev, unsigned int channel) { struct hpdi_private *devpriv = dev->private; struct comedi_async *async = dev->read_subdev->async; @@ -302,7 +302,7 @@ static irqreturn_t gsc_hpdi_interrupt(int irq, void *d) devpriv->plx9080_iobase + PLX_DMA0_CS_REG); if (dma0_status & PLX_DMA_EN_BIT) - drain_dma_buffers(dev, 0); + gsc_hpdi_drain_dma(dev, 0); } spin_unlock_irqrestore(&dev->spinlock, flags); |