staging: comedi: gsc_hpdi: rename init_plx9080()
For aesthetics, 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>
This commit is contained in:
parent
6a23558b34
commit
201a81437c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue