summaryrefslogtreecommitdiff
path: root/drivers/misc/mic
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-18 16:54:23 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-18 16:54:23 -0700
commit32182cd39d94fa9586cc08c74fdb30fb718f712d (patch)
treec7aebed0f7bb4163e1128e2ebcdae2dc8da2e19b /drivers/misc/mic
parent7426d29ea1564c147d8401fb42d6f3d127db6bdd (diff)
downloadlinux-rpi3-32182cd39d94fa9586cc08c74fdb30fb718f712d.tar.gz
linux-rpi3-32182cd39d94fa9586cc08c74fdb30fb718f712d.tar.bz2
linux-rpi3-32182cd39d94fa9586cc08c74fdb30fb718f712d.zip
misc: remove DEFINE_PCI_DEVICE_TABLE usage
Removes DEFINE_PCI_DEVICE_TABLE from drivers/misc/genwqe/card_base.c, drivers/misc/genwqe/card_base.c, and drivers/misc/vmw_vmci/vmci_guest.c in preferance of a "real" structure definition. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic')
-rw-r--r--drivers/misc/mic/host/mic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mic/host/mic_main.c b/drivers/misc/mic/host/mic_main.c
index fdc9c13430e7..ab37a3117d23 100644
--- a/drivers/misc/mic/host/mic_main.c
+++ b/drivers/misc/mic/host/mic_main.c
@@ -38,7 +38,7 @@
static const char mic_driver_name[] = "mic";
-static DEFINE_PCI_DEVICE_TABLE(mic_pci_tbl) = {
+static const struct pci_device_id mic_pci_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, MIC_X100_PCI_DEVICE_2250)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, MIC_X100_PCI_DEVICE_2251)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, MIC_X100_PCI_DEVICE_2252)},