aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/i82092.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-27 03:17:46 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2012-03-03 08:43:37 -0500
commit2b2c5d8c1dff8ed42d6d841f56428c0ce2bd71b5 (patch)
treeb3ba3e4f40402ad9c3f43eb9a22b2b1b59e31365 /drivers/pcmcia/i82092.c
parent5d95f8e2dd263f3e05ae4bf9a3309552363e13af (diff)
pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE tables. Also convert to use PCI_DEVICE macro for better readablity. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/i82092.c')
-rw-r--r--drivers/pcmcia/i82092.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/pcmcia/i82092.c b/drivers/pcmcia/i82092.c
index 3e447d0387b7..17035236ad2e 100644
--- a/drivers/pcmcia/i82092.c
+++ b/drivers/pcmcia/i82092.c
@@ -26,14 +26,9 @@
26MODULE_LICENSE("GPL"); 26MODULE_LICENSE("GPL");
27 27
28/* PCI core routines */ 28/* PCI core routines */
29static struct pci_device_id i82092aa_pci_ids[] = { 29static DEFINE_PCI_DEVICE_TABLE(i82092aa_pci_ids) = {
30 { 30 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82092AA_0) },
31 .vendor = PCI_VENDOR_ID_INTEL, 31 { }
32 .device = PCI_DEVICE_ID_INTEL_82092AA_0,
33 .subvendor = PCI_ANY_ID,
34 .subdevice = PCI_ANY_ID,
35 },
36 {}
37}; 32};
38MODULE_DEVICE_TABLE(pci, i82092aa_pci_ids); 33MODULE_DEVICE_TABLE(pci, i82092aa_pci_ids);
39 34