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

staging: comedi: gsc_hpdi: rename init_plx9080()

For aesthetics, 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 6a23558b
...@@ -591,7 +591,7 @@ static int init_hpdi(struct comedi_device *dev) ...@@ -591,7 +591,7 @@ static int init_hpdi(struct comedi_device *dev)
return 0; return 0;
} }
static void init_plx9080(struct comedi_device *dev) static void gsc_hpdi_init_plx9080(struct comedi_device *dev)
{ {
struct hpdi_private *devpriv = dev->private; struct hpdi_private *devpriv = dev->private;
uint32_t bits; uint32_t bits;
...@@ -677,7 +677,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev, ...@@ -677,7 +677,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev,
return -ENOMEM; return -ENOMEM;
} }
init_plx9080(dev); gsc_hpdi_init_plx9080(dev);
/* get irq */ /* get irq */
if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED, if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED,
......
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