From: H Hartley Sweeten Date: Thu, 13 Mar 2014 21:16:22 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: rename init_plx9080() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=201a81437cf13a2f7bf2fc13786409ecdf1771ac;p=linux-beck.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c index b0989814c4ff..177d7823fa91 100644 --- a/drivers/staging/comedi/drivers/gsc_hpdi.c +++ b/drivers/staging/comedi/drivers/gsc_hpdi.c @@ -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,