diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-27 03:17:46 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2012-03-03 08:43:37 -0500 |
commit | 2b2c5d8c1dff8ed42d6d841f56428c0ce2bd71b5 (patch) | |
tree | b3ba3e4f40402ad9c3f43eb9a22b2b1b59e31365 /drivers/pcmcia/bcm63xx_pcmcia.c | |
parent | 5d95f8e2dd263f3e05ae4bf9a3309552363e13af (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/bcm63xx_pcmcia.c')
-rw-r--r-- | drivers/pcmcia/bcm63xx_pcmcia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/bcm63xx_pcmcia.c b/drivers/pcmcia/bcm63xx_pcmcia.c index 693577e0fefc..c2e997a570bf 100644 --- a/drivers/pcmcia/bcm63xx_pcmcia.c +++ b/drivers/pcmcia/bcm63xx_pcmcia.c | |||
@@ -475,7 +475,7 @@ static void __devexit bcm63xx_cb_exit(struct pci_dev *dev) | |||
475 | bcm63xx_cb_dev = NULL; | 475 | bcm63xx_cb_dev = NULL; |
476 | } | 476 | } |
477 | 477 | ||
478 | static struct pci_device_id bcm63xx_cb_table[] = { | 478 | static DEFINE_PCI_DEVICE_TABLE(bcm63xx_cb_table) = { |
479 | { | 479 | { |
480 | .vendor = PCI_VENDOR_ID_BROADCOM, | 480 | .vendor = PCI_VENDOR_ID_BROADCOM, |
481 | .device = BCM6348_CPU_ID, | 481 | .device = BCM6348_CPU_ID, |