staging: comedi: adv_pci1710: rename pci171x_insn_counter_config()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 13 Nov 2015 18:11:14 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:56:30 +0000 (14:56 -0800)
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>
drivers/staging/comedi/drivers/adv_pci1710.c

index 3c660ee2ae8937a61b2512645316032d226a531a..4a8604f09512d861c93b4a62949bfa98a1bd2f30 100644 (file)
@@ -668,7 +668,7 @@ static int pci171x_ai_cmdtest(struct comedi_device *dev,
        return 0;
 }
 
-static int pci171x_insn_counter_config(struct comedi_device *dev,
+static int pci1710_counter_insn_config(struct comedi_device *dev,
                                       struct comedi_subdevice *s,
                                       struct comedi_insn *insn,
                                       unsigned int *data)
@@ -857,7 +857,7 @@ static int pci1710_auto_attach(struct comedi_device *dev,
                s = &dev->subdevices[subdev];
                comedi_8254_subdevice_init(s, dev->pacer);
 
-               dev->pacer->insn_config = pci171x_insn_counter_config;
+               dev->pacer->insn_config = pci1710_counter_insn_config;
 
                /* counters 1 and 2 are used internally for the pacer */
                comedi_8254_set_busy(dev->pacer, 1, true);