summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xillybus
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 08:26:00 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-02 22:32:35 -0800
commit41e043fcfa2236bb2c4a8335eb09f4c8cee224b3 (patch)
tree68e847050a8bfe041a326aefbad99347e977e9f1 /drivers/staging/xillybus
parent06749f192b740651302a84273707d0b66749d126 (diff)
downloadop-kernel-dev-41e043fcfa2236bb2c4a8335eb09f4c8cee224b3.zip
op-kernel-dev-41e043fcfa2236bb2c4a8335eb09f4c8cee224b3.tar.gz
staging: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xillybus')
-rw-r--r--drivers/staging/xillybus/xillybus_pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xillybus/xillybus_pcie.c b/drivers/staging/xillybus/xillybus_pcie.c
index 1811aa7..0564f97 100644
--- a/drivers/staging/xillybus/xillybus_pcie.c
+++ b/drivers/staging/xillybus/xillybus_pcie.c
@@ -30,7 +30,7 @@ MODULE_LICENSE("GPL v2");
static const char xillyname[] = "xillybus_pcie";
-static DEFINE_PCI_DEVICE_TABLE(xillyids) = {
+static const struct pci_device_id xillyids[] = {
{PCI_DEVICE(PCI_VENDOR_ID_XILINX, PCI_DEVICE_ID_XILLYBUS)},
{PCI_DEVICE(PCI_VENDOR_ID_ALTERA, PCI_DEVICE_ID_XILLYBUS)},
{PCI_DEVICE(PCI_VENDOR_ID_ACTEL, PCI_DEVICE_ID_XILLYBUS)},
OpenPOWER on IntegriCloud