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

staging: comedi: adv_pci1710: rename interrupt_service_pci1710()

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 b5b147dc
...@@ -513,7 +513,7 @@ static void pci1710_handle_fifo(struct comedi_device *dev, ...@@ -513,7 +513,7 @@ static void pci1710_handle_fifo(struct comedi_device *dev,
outb(0, dev->iobase + PCI171X_CLRINT_REG); outb(0, dev->iobase + PCI171X_CLRINT_REG);
} }
static irqreturn_t interrupt_service_pci1710(int irq, void *d) static irqreturn_t pci1710_irq_handler(int irq, void *d)
{ {
struct comedi_device *dev = d; struct comedi_device *dev = d;
struct pci1710_private *devpriv = dev->private; struct pci1710_private *devpriv = dev->private;
...@@ -779,7 +779,7 @@ static int pci1710_auto_attach(struct comedi_device *dev, ...@@ -779,7 +779,7 @@ static int pci1710_auto_attach(struct comedi_device *dev,
pci1710_reset(dev); pci1710_reset(dev);
if (pcidev->irq) { if (pcidev->irq) {
ret = request_irq(pcidev->irq, interrupt_service_pci1710, ret = request_irq(pcidev->irq, pci1710_irq_handler,
IRQF_SHARED, dev->board_name, dev); IRQF_SHARED, dev->board_name, dev);
if (ret == 0) if (ret == 0)
dev->irq = pcidev->irq; dev->irq = pcidev->irq;
......
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