staging: comedi: gsc_hpdi: rename hpdi_find_board()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 13 Mar 2014 21:16:21 +0000 (14:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:19:50 +0000 (14:19 -0700)
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>
drivers/staging/comedi/drivers/gsc_hpdi.c

index 364c91d8ee43091370c1773e0bd445c0d2da49fa..b0989814c4ff5377e22aa77ff92142d65970cf93 100644 (file)
@@ -631,7 +631,7 @@ static void init_plx9080(struct comedi_device *dev)
        writel(bits, plx_iobase + PLX_DMA0_MODE_REG);
 }
 
-static const struct hpdi_board *hpdi_find_board(struct pci_dev *pcidev)
+static const struct hpdi_board *gsc_hpdi_find_board(struct pci_dev *pcidev)
 {
        unsigned int i;
 
@@ -652,7 +652,7 @@ static int gsc_hpdi_auto_attach(struct comedi_device *dev,
        int i;
        int retval;
 
-       thisboard = hpdi_find_board(pcidev);
+       thisboard = gsc_hpdi_find_board(pcidev);
        if (!thisboard) {
                dev_err(dev->class_dev, "gsc_hpdi: pci %s not supported\n",
                        pci_name(pcidev));