Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a23558b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: gsc_hpdi: rename hpdi_find_board()



For aesthetics, rename this function so it has namespace associated
with the driver.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1335cee5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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));