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

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

staging: comedi: adl_pci8164: remove PCI_DEVICE_ID_* define



The PCI device id is only used in the device table. Remove the
define and just open code the device id.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a6c57d2e
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -44,8 +44,6 @@ Configuration Options: not applicable, uses PCI auto config
#define PCI8164_BUF0_REG	0x04
#define PCI8164_BUF1_REG	0x06

#define PCI_DEVICE_ID_PCI8164 0x8164

static int adl_pci8164_insn_read(struct comedi_device *dev,
				 struct comedi_subdevice *s,
				 struct comedi_insn *insn,
@@ -166,7 +164,7 @@ static int adl_pci8164_pci_probe(struct pci_dev *dev,
}

static DEFINE_PCI_DEVICE_TABLE(adl_pci8164_pci_table) = {
	{ PCI_DEVICE(PCI_VENDOR_ID_ADLINK, PCI_DEVICE_ID_PCI8164) },
	{ PCI_DEVICE(PCI_VENDOR_ID_ADLINK, 0x8164) },
	{ 0 }
};
MODULE_DEVICE_TABLE(pci, adl_pci8164_pci_table);