]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: comedi: cb_pcidas: rename handle_ao_interrupt()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 14 Oct 2015 00:48:02 +0000 (17:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:20:10 +0000 (23:20 -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/cb_pcidas.c

index 268ec777342a80275bd50daa5aac6e446e0e6a5d..4aa2742641c0b772a7af3ea92dba63caabd850e8 100644 (file)
@@ -1106,7 +1106,8 @@ static int cb_pcidas_ao_cancel(struct comedi_device *dev,
        return 0;
 }
 
-static void handle_ao_interrupt(struct comedi_device *dev, unsigned int status)
+static void cb_pcidas_ao_interrupt(struct comedi_device *dev,
+                                  unsigned int status)
 {
        const struct cb_pcidas_board *board = dev->board_ptr;
        struct cb_pcidas_private *devpriv = dev->private;
@@ -1178,7 +1179,7 @@ static irqreturn_t cb_pcidas_interrupt(int irq, void *d)
 
        /*  check for analog output interrupt */
        if (status & (PCIDAS_CTRL_DAHFI | PCIDAS_CTRL_DAEMI))
-               handle_ao_interrupt(dev, status);
+               cb_pcidas_ao_interrupt(dev, status);
        /*  check for analog input interrupts */
        /*  if fifo half-full */
        if (status & PCIDAS_CTRL_ADHFI) {