mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 14:42:34 -04:00
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:
committed by
Greg Kroah-Hartman
parent
6a23558b34
commit
201a81437c
@@ -591,7 +591,7 @@ static int init_hpdi(struct comedi_device *dev)
|
||||
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;
|
||||
uint32_t bits;
|
||||
@@ -677,7 +677,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev,
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
init_plx9080(dev);
|
||||
gsc_hpdi_init_plx9080(dev);
|
||||
|
||||
/* get irq */
|
||||
if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED,
|
||||
|
||||
Reference in New Issue
Block a user