Commit edebf619 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas: rename handle_ao_interrupt()

Rename this function so it has namespace associated with the
driver.
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 790b2f06
...@@ -1106,7 +1106,8 @@ static int cb_pcidas_ao_cancel(struct comedi_device *dev, ...@@ -1106,7 +1106,8 @@ static int cb_pcidas_ao_cancel(struct comedi_device *dev,
return 0; 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; const struct cb_pcidas_board *board = dev->board_ptr;
struct cb_pcidas_private *devpriv = dev->private; struct cb_pcidas_private *devpriv = dev->private;
...@@ -1178,7 +1179,7 @@ static irqreturn_t cb_pcidas_interrupt(int irq, void *d) ...@@ -1178,7 +1179,7 @@ static irqreturn_t cb_pcidas_interrupt(int irq, void *d)
/* check for analog output interrupt */ /* check for analog output interrupt */
if (status & (PCIDAS_CTRL_DAHFI | PCIDAS_CTRL_DAEMI)) if (status & (PCIDAS_CTRL_DAHFI | PCIDAS_CTRL_DAEMI))
handle_ao_interrupt(dev, status); cb_pcidas_ao_interrupt(dev, status);
/* check for analog input interrupts */ /* check for analog input interrupts */
/* if fifo half-full */ /* if fifo half-full */
if (status & PCIDAS_CTRL_ADHFI) { if (status & PCIDAS_CTRL_ADHFI) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment