]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:58:07 +0000 (16:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:58:07 +0000 (16:58 -0700)
It's not needed, just use the "real" structure definition instead.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/bcm63xx_pcmcia.c
drivers/pcmcia/i82092.c
drivers/pcmcia/pd6729.c
drivers/pcmcia/vrc4173_cardu.c
drivers/pcmcia/yenta_socket.c

index 0c6aac1232fc3943b46837f613b6652fa0acb87b..0802e0bc7d0c60dc4c0bfab927f3dd4fc8cfdb4b 100644 (file)
@@ -475,7 +475,7 @@ static void bcm63xx_cb_exit(struct pci_dev *dev)
        bcm63xx_cb_dev = NULL;
 }
 
-static DEFINE_PCI_DEVICE_TABLE(bcm63xx_cb_table) = {
+static const struct pci_device_id bcm63xx_cb_table[] = {
        {
                .vendor         = PCI_VENDOR_ID_BROADCOM,
                .device         = BCM6348_CPU_ID,
index 7d47456429a15691060a58c7534bafa273b0cd00..aae7e6df99cd3bb103457506dca31cc028f33db3 100644 (file)
@@ -25,7 +25,7 @@
 MODULE_LICENSE("GPL");
 
 /* PCI core routines */
-static DEFINE_PCI_DEVICE_TABLE(i82092aa_pci_ids) = {
+static const struct pci_device_id i82092aa_pci_ids[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82092AA_0) },
        { }
 };
index 622dd6fe7347c7e3aec8fb3d337347ec8bd03537..34ace4854dc242513730582b5a51bbcdaf730cce 100644 (file)
@@ -764,7 +764,7 @@ static void pd6729_pci_remove(struct pci_dev *dev)
        kfree(socket);
 }
 
-static DEFINE_PCI_DEVICE_TABLE(pd6729_pci_ids) = {
+static const struct pci_device_id pd6729_pci_ids[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_6729) },
        { }
 };
index d92692056e2498241f3d62ac1d45c7a19311a522..9fb0c3addfd40231698039115922c7bbc967539d 100644 (file)
@@ -563,7 +563,7 @@ static int vrc4173_cardu_setup(char *options)
 
 __setup("vrc4173_cardu=", vrc4173_cardu_setup);
 
-static DEFINE_PCI_DEVICE_TABLE(vrc4173_cardu_id_table) = {
+static const struct pci_device_id vrc4173_cardu_id_table[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_NAPCCARD) },
         {0, }
 };
index 946f90ef60203a7e3a06c89041ea3c50e2a9b364..8a23ccb41213762317216a8cd10e7be0138638be 100644 (file)
@@ -1352,7 +1352,7 @@ static const struct dev_pm_ops yenta_pm_ops = {
                .driver_data    = CARDBUS_TYPE_##type,  \
        }
 
-static DEFINE_PCI_DEVICE_TABLE(yenta_table) = {
+static const struct pci_device_id yenta_table[] = {
        CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1031, TI),
 
        /*