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

Commit 41e043fc authored by Jingoo Han's avatar Jingoo Han Committed by Greg Kroah-Hartman
Browse files

staging: remove DEFINE_PCI_DEVICE_TABLE macro



Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 06749f19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ static int pci_8255_pci_probe(struct pci_dev *dev,
	return comedi_pci_auto_config(dev, &pci_8255_driver, id->driver_data);
}

static DEFINE_PCI_DEVICE_TABLE(pci_8255_pci_table) = {
static const struct pci_device_id pci_8255_pci_table[] = {
	{ PCI_VDEVICE(ADLINK, 0x7224), BOARD_ADLINK_PCI7224 },
	{ PCI_VDEVICE(ADLINK, 0x7248), BOARD_ADLINK_PCI7248 },
	{ PCI_VDEVICE(ADLINK, 0x7296), BOARD_ADLINK_PCI7296 },
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ static int apci035_pci_probe(struct pci_dev *dev,
	return comedi_pci_auto_config(dev, &apci035_driver, id->driver_data);
}

static DEFINE_PCI_DEVICE_TABLE(apci035_pci_table) = {
static const struct pci_device_id apci035_pci_table[] = {
	{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA,  0x0300) },
	{ 0 }
};
+1 −1
Original line number Diff line number Diff line
@@ -364,7 +364,7 @@ static int apci1032_pci_probe(struct pci_dev *dev,
	return comedi_pci_auto_config(dev, &apci1032_driver, id->driver_data);
}

static DEFINE_PCI_DEVICE_TABLE(apci1032_pci_table) = {
static const struct pci_device_id apci1032_pci_table[] = {
	{ PCI_DEVICE(PCI_VENDOR_ID_ADDIDATA, 0x1003) },
	{ 0 }
};
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ static int apci1500_pci_probe(struct pci_dev *dev,
	return comedi_pci_auto_config(dev, &apci1500_driver, id->driver_data);
}

static DEFINE_PCI_DEVICE_TABLE(apci1500_pci_table) = {
static const struct pci_device_id apci1500_pci_table[] = {
	{ PCI_DEVICE(PCI_VENDOR_ID_AMCC, 0x80fc) },
	{ 0 }
};
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ static int apci1516_pci_probe(struct pci_dev *dev,
	return comedi_pci_auto_config(dev, &apci1516_driver, id->driver_data);
}

static DEFINE_PCI_DEVICE_TABLE(apci1516_pci_table) = {
static const struct pci_device_id apci1516_pci_table[] = {
	{ PCI_VDEVICE(ADDIDATA, 0x1000), BOARD_APCI1016 },
	{ PCI_VDEVICE(ADDIDATA, 0x1001), BOARD_APCI1516 },
	{ PCI_VDEVICE(ADDIDATA, 0x1002), BOARD_APCI2016 },
Loading