From: H Hartley Sweeten <hartleys@xxxxxxxxxxxxxxxxxxx> For aesthetics, rename this function so it has namespace associated with the driver. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/gsc_hpdi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c index 177d782..d9b1491 100644 --- a/drivers/staging/comedi/drivers/gsc_hpdi.c +++ b/drivers/staging/comedi/drivers/gsc_hpdi.c @@ -562,7 +562,7 @@ static int gsc_hpdi_dio_insn_config(struct comedi_device *dev, return insn->n; } -static int init_hpdi(struct comedi_device *dev) +static int gsc_hpdi_init(struct comedi_device *dev) { struct hpdi_private *devpriv = dev->private; uint32_t plx_intcsr_bits; @@ -730,7 +730,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev, s->do_cmdtest = gsc_hpdi_cmd_test; s->cancel = gsc_hpdi_cancel; - return init_hpdi(dev); + return gsc_hpdi_init(dev); } static void gsc_hpdi_detach(struct comedi_device *dev) -- 1.8.5.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel