Commit 0178a7a54d408d2c5b7bbe7eee9450bffbec0989
1 parent
32182cd39d
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage
It's not needed, just use the "real" structure definition instead. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 5 changed files with 5 additions and 5 deletions Side-by-side Diff
drivers/pcmcia/bcm63xx_pcmcia.c
drivers/pcmcia/i82092.c
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 | MODULE_LICENSE("GPL"); |
26 | 26 | |
27 | 27 | /* PCI core routines */ |
28 | -static DEFINE_PCI_DEVICE_TABLE(i82092aa_pci_ids) = { | |
28 | +static const struct pci_device_id i82092aa_pci_ids[] = { | |
29 | 29 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82092AA_0) }, |
30 | 30 | { } |
31 | 31 | }; |
drivers/pcmcia/pd6729.c
drivers/pcmcia/vrc4173_cardu.c
... | ... | @@ -563,7 +563,7 @@ |
563 | 563 | |
564 | 564 | __setup("vrc4173_cardu=", vrc4173_cardu_setup); |
565 | 565 | |
566 | -static DEFINE_PCI_DEVICE_TABLE(vrc4173_cardu_id_table) = { | |
566 | +static const struct pci_device_id vrc4173_cardu_id_table[] = { | |
567 | 567 | { PCI_DEVICE(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_NAPCCARD) }, |
568 | 568 | {0, } |
569 | 569 | }; |
drivers/pcmcia/yenta_socket.c