diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-14 00:48:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 06:20:10 (GMT) |
commit | edebf6199bfec7cdefc69a4178b760d09165a926 (patch) | |
tree | 3a699e62aa4c3e3c6a5ab0b40b12ab82c975b652 /drivers | |
parent | 790b2f06249602ee2560bb94cce4b934abcba6e4 (diff) | |
download | linux-edebf6199bfec7cdefc69a4178b760d09165a926.tar.xz |
staging: comedi: cb_pcidas: rename handle_ao_interrupt()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/cb_pcidas.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/cb_pcidas.c b/drivers/staging/comedi/drivers/cb_pcidas.c index 268ec77..4aa27426 100644 --- a/drivers/staging/comedi/drivers/cb_pcidas.c +++ b/drivers/staging/comedi/drivers/cb_pcidas.c @@ -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) { |