diff options
Diffstat (limited to 'drivers/net/wireless')
23 files changed, 23 insertions, 23 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index e1f04bb437e3..e6ca3eb4c0d3 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c | |||
@@ -39,7 +39,7 @@ static unsigned int rx_ring_size __read_mostly = 16; | |||
39 | module_param(tx_ring_size, uint, 0); | 39 | module_param(tx_ring_size, uint, 0); |
40 | module_param(rx_ring_size, uint, 0); | 40 | module_param(rx_ring_size, uint, 0); |
41 | 41 | ||
42 | static struct pci_device_id adm8211_pci_id_table[] __devinitdata = { | 42 | static DEFINE_PCI_DEVICE_TABLE(adm8211_pci_id_table) = { |
43 | /* ADMtek ADM8211 */ | 43 | /* ADMtek ADM8211 */ |
44 | { PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */ | 44 | { PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */ |
45 | { PCI_DEVICE(0x1200, 0x8201) }, /* ? */ | 45 | { PCI_DEVICE(0x1200, 0x8201) }, /* ? */ |
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 4331d675fcc6..37e4ab737f2a 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -57,7 +57,7 @@ | |||
57 | #define DRV_NAME "airo" | 57 | #define DRV_NAME "airo" |
58 | 58 | ||
59 | #ifdef CONFIG_PCI | 59 | #ifdef CONFIG_PCI |
60 | static struct pci_device_id card_ids[] = { | 60 | static DEFINE_PCI_DEVICE_TABLE(card_ids) = { |
61 | { 0x14b9, 1, PCI_ANY_ID, PCI_ANY_ID, }, | 61 | { 0x14b9, 1, PCI_ANY_ID, PCI_ANY_ID, }, |
62 | { 0x14b9, 0x4500, PCI_ANY_ID, PCI_ANY_ID }, | 62 | { 0x14b9, 0x4500, PCI_ANY_ID, PCI_ANY_ID }, |
63 | { 0x14b9, 0x4800, PCI_ANY_ID, PCI_ANY_ID, }, | 63 | { 0x14b9, 0x4800, PCI_ANY_ID, PCI_ANY_ID, }, |
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index fdfaf0f618f1..72e5ed51c0af 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -83,7 +83,7 @@ MODULE_VERSION("0.6.0 (EXPERIMENTAL)"); | |||
83 | 83 | ||
84 | 84 | ||
85 | /* Known PCI ids */ | 85 | /* Known PCI ids */ |
86 | static const struct pci_device_id ath5k_pci_id_table[] = { | 86 | static DEFINE_PCI_DEVICE_TABLE(ath5k_pci_id_table) = { |
87 | { PCI_VDEVICE(ATHEROS, 0x0207) }, /* 5210 early */ | 87 | { PCI_VDEVICE(ATHEROS, 0x0207) }, /* 5210 early */ |
88 | { PCI_VDEVICE(ATHEROS, 0x0007) }, /* 5210 */ | 88 | { PCI_VDEVICE(ATHEROS, 0x0007) }, /* 5210 */ |
89 | { PCI_VDEVICE(ATHEROS, 0x0011) }, /* 5311 - this is on AHB bus !*/ | 89 | { PCI_VDEVICE(ATHEROS, 0x0011) }, /* 5311 - this is on AHB bus !*/ |
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c index f7af5ea54753..ee617205cb4a 100644 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/pci.h> | 18 | #include <linux/pci.h> |
19 | #include "ath9k.h" | 19 | #include "ath9k.h" |
20 | 20 | ||
21 | static struct pci_device_id ath_pci_id_table[] __devinitdata = { | 21 | static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = { |
22 | { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */ | 22 | { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */ |
23 | { PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */ | 23 | { PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */ |
24 | { PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */ | 24 | { PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */ |
diff --git a/drivers/net/wireless/atmel_pci.c b/drivers/net/wireless/atmel_pci.c index 92f87fbe750f..9ab1192004c0 100644 --- a/drivers/net/wireless/atmel_pci.c +++ b/drivers/net/wireless/atmel_pci.c | |||
@@ -31,7 +31,7 @@ MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards.") | |||
31 | MODULE_LICENSE("GPL"); | 31 | MODULE_LICENSE("GPL"); |
32 | MODULE_SUPPORTED_DEVICE("Atmel at76c506 PCI wireless cards"); | 32 | MODULE_SUPPORTED_DEVICE("Atmel at76c506 PCI wireless cards"); |
33 | 33 | ||
34 | static struct pci_device_id card_ids[] = { | 34 | static DEFINE_PCI_DEVICE_TABLE(card_ids) = { |
35 | { 0x1114, 0x0506, PCI_ANY_ID, PCI_ANY_ID }, | 35 | { 0x1114, 0x0506, PCI_ANY_ID, PCI_ANY_ID }, |
36 | { 0, } | 36 | { 0, } |
37 | }; | 37 | }; |
diff --git a/drivers/net/wireless/hostap/hostap_pci.c b/drivers/net/wireless/hostap/hostap_pci.c index 8fdd41f4b4f2..4d97ae37499b 100644 --- a/drivers/net/wireless/hostap/hostap_pci.c +++ b/drivers/net/wireless/hostap/hostap_pci.c | |||
@@ -39,7 +39,7 @@ struct hostap_pci_priv { | |||
39 | /* FIX: do we need mb/wmb/rmb with memory operations? */ | 39 | /* FIX: do we need mb/wmb/rmb with memory operations? */ |
40 | 40 | ||
41 | 41 | ||
42 | static struct pci_device_id prism2_pci_id_table[] __devinitdata = { | 42 | static DEFINE_PCI_DEVICE_TABLE(prism2_pci_id_table) = { |
43 | /* Intersil Prism3 ISL3872 11Mb/s WLAN Controller */ | 43 | /* Intersil Prism3 ISL3872 11Mb/s WLAN Controller */ |
44 | { 0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID }, | 44 | { 0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID }, |
45 | /* Intersil Prism2.5 ISL3874 11Mb/s WLAN Controller */ | 45 | /* Intersil Prism2.5 ISL3874 11Mb/s WLAN Controller */ |
diff --git a/drivers/net/wireless/hostap/hostap_plx.c b/drivers/net/wireless/hostap/hostap_plx.c index 0e5d51086a44..fc04ccdc5bef 100644 --- a/drivers/net/wireless/hostap/hostap_plx.c +++ b/drivers/net/wireless/hostap/hostap_plx.c | |||
@@ -60,7 +60,7 @@ struct hostap_plx_priv { | |||
60 | 60 | ||
61 | #define PLXDEV(vendor,dev,str) { vendor, dev, PCI_ANY_ID, PCI_ANY_ID } | 61 | #define PLXDEV(vendor,dev,str) { vendor, dev, PCI_ANY_ID, PCI_ANY_ID } |
62 | 62 | ||
63 | static struct pci_device_id prism2_plx_id_table[] __devinitdata = { | 63 | static DEFINE_PCI_DEVICE_TABLE(prism2_plx_id_table) = { |
64 | PLXDEV(0x10b7, 0x7770, "3Com AirConnect PCI 777A"), | 64 | PLXDEV(0x10b7, 0x7770, "3Com AirConnect PCI 777A"), |
65 | PLXDEV(0x111a, 0x1023, "Siemens SpeedStream SS1023"), | 65 | PLXDEV(0x111a, 0x1023, "Siemens SpeedStream SS1023"), |
66 | PLXDEV(0x126c, 0x8030, "Nortel emobility"), | 66 | PLXDEV(0x126c, 0x8030, "Nortel emobility"), |
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index 56afcf041f81..9b72c45a7748 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -6585,7 +6585,7 @@ static void ipw2100_shutdown(struct pci_dev *pci_dev) | |||
6585 | 6585 | ||
6586 | #define IPW2100_DEV_ID(x) { PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, x } | 6586 | #define IPW2100_DEV_ID(x) { PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, x } |
6587 | 6587 | ||
6588 | static struct pci_device_id ipw2100_pci_id_table[] __devinitdata = { | 6588 | static DEFINE_PCI_DEVICE_TABLE(ipw2100_pci_id_table) = { |
6589 | IPW2100_DEV_ID(0x2520), /* IN 2100A mPCI 3A */ | 6589 | IPW2100_DEV_ID(0x2520), /* IN 2100A mPCI 3A */ |
6590 | IPW2100_DEV_ID(0x2521), /* IN 2100A mPCI 3B */ | 6590 | IPW2100_DEV_ID(0x2521), /* IN 2100A mPCI 3B */ |
6591 | IPW2100_DEV_ID(0x2524), /* IN 2100A mPCI 3B */ | 6591 | IPW2100_DEV_ID(0x2524), /* IN 2100A mPCI 3B */ |
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 09ddd3e6bedc..63c2a7ade5fb 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -11524,7 +11524,7 @@ out: | |||
11524 | } | 11524 | } |
11525 | 11525 | ||
11526 | /* PCI driver stuff */ | 11526 | /* PCI driver stuff */ |
11527 | static struct pci_device_id card_ids[] = { | 11527 | static DEFINE_PCI_DEVICE_TABLE(card_ids) = { |
11528 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2701, 0, 0, 0}, | 11528 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2701, 0, 0, 0}, |
11529 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2702, 0, 0, 0}, | 11529 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2702, 0, 0, 0}, |
11530 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2711, 0, 0, 0}, | 11530 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2711, 0, 0, 0}, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 28ffe4c826d8..6cde661ce0bc 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2849,7 +2849,7 @@ static struct iwl_cfg iwl3945_abg_cfg = { | |||
2849 | .broken_powersave = true, | 2849 | .broken_powersave = true, |
2850 | }; | 2850 | }; |
2851 | 2851 | ||
2852 | struct pci_device_id iwl3945_hw_card_ids[] = { | 2852 | DEFINE_PCI_DEVICE_TABLE(iwl3945_hw_card_ids) = { |
2853 | {IWL_PCI_DEVICE(0x4222, 0x1005, iwl3945_bg_cfg)}, | 2853 | {IWL_PCI_DEVICE(0x4222, 0x1005, iwl3945_bg_cfg)}, |
2854 | {IWL_PCI_DEVICE(0x4222, 0x1034, iwl3945_bg_cfg)}, | 2854 | {IWL_PCI_DEVICE(0x4222, 0x1034, iwl3945_bg_cfg)}, |
2855 | {IWL_PCI_DEVICE(0x4222, 0x1044, iwl3945_bg_cfg)}, | 2855 | {IWL_PCI_DEVICE(0x4222, 0x1044, iwl3945_bg_cfg)}, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h index 3ec2fe370b58..bc532ff4f883 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <net/ieee80211_radiotap.h> | 37 | #include <net/ieee80211_radiotap.h> |
38 | 38 | ||
39 | /* Hardware specific file defines the PCI IDs table for that hardware module */ | 39 | /* Hardware specific file defines the PCI IDs table for that hardware module */ |
40 | extern struct pci_device_id iwl3945_hw_card_ids[]; | 40 | extern const struct pci_device_id iwl3945_hw_card_ids[]; |
41 | 41 | ||
42 | #include "iwl-csr.h" | 42 | #include "iwl-csr.h" |
43 | #include "iwl-prph.h" | 43 | #include "iwl-prph.h" |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 771b03c1c7c5..c8fec626b714 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3766,7 +3766,7 @@ static void __devexit iwl_pci_remove(struct pci_dev *pdev) | |||
3766 | *****************************************************************************/ | 3766 | *****************************************************************************/ |
3767 | 3767 | ||
3768 | /* Hardware specific file defines the PCI IDs table for that hardware module */ | 3768 | /* Hardware specific file defines the PCI IDs table for that hardware module */ |
3769 | static struct pci_device_id iwl_hw_card_ids[] = { | 3769 | static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = { |
3770 | #ifdef CONFIG_IWL4965 | 3770 | #ifdef CONFIG_IWL4965 |
3771 | {IWL_PCI_DEVICE(0x4229, PCI_ANY_ID, iwl4965_agn_cfg)}, | 3771 | {IWL_PCI_DEVICE(0x4229, PCI_ANY_ID, iwl4965_agn_cfg)}, |
3772 | {IWL_PCI_DEVICE(0x4230, PCI_ANY_ID, iwl4965_agn_cfg)}, | 3772 | {IWL_PCI_DEVICE(0x4230, PCI_ANY_ID, iwl4965_agn_cfg)}, |
diff --git a/drivers/net/wireless/orinoco/orinoco_nortel.c b/drivers/net/wireless/orinoco/orinoco_nortel.c index c13a4c383410..075f446b3139 100644 --- a/drivers/net/wireless/orinoco/orinoco_nortel.c +++ b/drivers/net/wireless/orinoco/orinoco_nortel.c | |||
@@ -274,7 +274,7 @@ static void __devexit orinoco_nortel_remove_one(struct pci_dev *pdev) | |||
274 | pci_disable_device(pdev); | 274 | pci_disable_device(pdev); |
275 | } | 275 | } |
276 | 276 | ||
277 | static struct pci_device_id orinoco_nortel_id_table[] = { | 277 | static DEFINE_PCI_DEVICE_TABLE(orinoco_nortel_id_table) = { |
278 | /* Nortel emobility PCI */ | 278 | /* Nortel emobility PCI */ |
279 | {0x126c, 0x8030, PCI_ANY_ID, PCI_ANY_ID,}, | 279 | {0x126c, 0x8030, PCI_ANY_ID, PCI_ANY_ID,}, |
280 | /* Symbol LA-4123 PCI */ | 280 | /* Symbol LA-4123 PCI */ |
diff --git a/drivers/net/wireless/orinoco/orinoco_pci.c b/drivers/net/wireless/orinoco/orinoco_pci.c index fea7781948e7..bda5317cc596 100644 --- a/drivers/net/wireless/orinoco/orinoco_pci.c +++ b/drivers/net/wireless/orinoco/orinoco_pci.c | |||
@@ -212,7 +212,7 @@ static void __devexit orinoco_pci_remove_one(struct pci_dev *pdev) | |||
212 | pci_disable_device(pdev); | 212 | pci_disable_device(pdev); |
213 | } | 213 | } |
214 | 214 | ||
215 | static struct pci_device_id orinoco_pci_id_table[] = { | 215 | static DEFINE_PCI_DEVICE_TABLE(orinoco_pci_id_table) = { |
216 | /* Intersil Prism 3 */ | 216 | /* Intersil Prism 3 */ |
217 | {0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID,}, | 217 | {0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID,}, |
218 | /* Intersil Prism 2.5 */ | 218 | /* Intersil Prism 2.5 */ |
diff --git a/drivers/net/wireless/orinoco/orinoco_plx.c b/drivers/net/wireless/orinoco/orinoco_plx.c index 3f2942a1e4f5..e0d5874ab42f 100644 --- a/drivers/net/wireless/orinoco/orinoco_plx.c +++ b/drivers/net/wireless/orinoco/orinoco_plx.c | |||
@@ -310,7 +310,7 @@ static void __devexit orinoco_plx_remove_one(struct pci_dev *pdev) | |||
310 | pci_disable_device(pdev); | 310 | pci_disable_device(pdev); |
311 | } | 311 | } |
312 | 312 | ||
313 | static struct pci_device_id orinoco_plx_id_table[] = { | 313 | static DEFINE_PCI_DEVICE_TABLE(orinoco_plx_id_table) = { |
314 | {0x111a, 0x1023, PCI_ANY_ID, PCI_ANY_ID,}, /* Siemens SpeedStream SS1023 */ | 314 | {0x111a, 0x1023, PCI_ANY_ID, PCI_ANY_ID,}, /* Siemens SpeedStream SS1023 */ |
315 | {0x1385, 0x4100, PCI_ANY_ID, PCI_ANY_ID,}, /* Netgear MA301 */ | 315 | {0x1385, 0x4100, PCI_ANY_ID, PCI_ANY_ID,}, /* Netgear MA301 */ |
316 | {0x15e8, 0x0130, PCI_ANY_ID, PCI_ANY_ID,}, /* Correga - does this work? */ | 316 | {0x15e8, 0x0130, PCI_ANY_ID, PCI_ANY_ID,}, /* Correga - does this work? */ |
diff --git a/drivers/net/wireless/orinoco/orinoco_tmd.c b/drivers/net/wireless/orinoco/orinoco_tmd.c index d3452548cc71..88cbc7902aa0 100644 --- a/drivers/net/wireless/orinoco/orinoco_tmd.c +++ b/drivers/net/wireless/orinoco/orinoco_tmd.c | |||
@@ -203,7 +203,7 @@ static void __devexit orinoco_tmd_remove_one(struct pci_dev *pdev) | |||
203 | pci_disable_device(pdev); | 203 | pci_disable_device(pdev); |
204 | } | 204 | } |
205 | 205 | ||
206 | static struct pci_device_id orinoco_tmd_id_table[] = { | 206 | static DEFINE_PCI_DEVICE_TABLE(orinoco_tmd_id_table) = { |
207 | {0x15e8, 0x0131, PCI_ANY_ID, PCI_ANY_ID,}, /* NDC and OEMs, e.g. pheecom */ | 207 | {0x15e8, 0x0131, PCI_ANY_ID, PCI_ANY_ID,}, /* NDC and OEMs, e.g. pheecom */ |
208 | {0,}, | 208 | {0,}, |
209 | }; | 209 | }; |
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c index a15962a19b2a..fab41f507bd3 100644 --- a/drivers/net/wireless/p54/p54pci.c +++ b/drivers/net/wireless/p54/p54pci.c | |||
@@ -31,7 +31,7 @@ MODULE_LICENSE("GPL"); | |||
31 | MODULE_ALIAS("prism54pci"); | 31 | MODULE_ALIAS("prism54pci"); |
32 | MODULE_FIRMWARE("isl3886pci"); | 32 | MODULE_FIRMWARE("isl3886pci"); |
33 | 33 | ||
34 | static struct pci_device_id p54p_table[] __devinitdata = { | 34 | static DEFINE_PCI_DEVICE_TABLE(p54p_table) = { |
35 | /* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ | 35 | /* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ |
36 | { PCI_DEVICE(0x1260, 0x3890) }, | 36 | { PCI_DEVICE(0x1260, 0x3890) }, |
37 | /* 3COM 3CRWE154G72 Wireless LAN adapter */ | 37 | /* 3COM 3CRWE154G72 Wireless LAN adapter */ |
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index e4f2bb7368f2..dc14420a9adc 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c | |||
@@ -39,7 +39,7 @@ module_param(init_pcitm, int, 0); | |||
39 | * driver_data | 39 | * driver_data |
40 | * If you have an update for this please contact prism54-devel@prism54.org | 40 | * If you have an update for this please contact prism54-devel@prism54.org |
41 | * The latest list can be found at http://prism54.org/supported_cards.php */ | 41 | * The latest list can be found at http://prism54.org/supported_cards.php */ |
42 | static const struct pci_device_id prism54_id_tbl[] = { | 42 | static DEFINE_PCI_DEVICE_TABLE(prism54_id_tbl) = { |
43 | /* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ | 43 | /* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ |
44 | { | 44 | { |
45 | 0x1260, 0x3890, | 45 | 0x1260, 0x3890, |
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index d86d233c6810..aa579eb8723f 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1642,7 +1642,7 @@ static const struct rt2x00_ops rt2400pci_ops = { | |||
1642 | /* | 1642 | /* |
1643 | * RT2400pci module information. | 1643 | * RT2400pci module information. |
1644 | */ | 1644 | */ |
1645 | static struct pci_device_id rt2400pci_device_table[] = { | 1645 | static DEFINE_PCI_DEVICE_TABLE(rt2400pci_device_table) = { |
1646 | { PCI_DEVICE(0x1814, 0x0101), PCI_DEVICE_DATA(&rt2400pci_ops) }, | 1646 | { PCI_DEVICE(0x1814, 0x0101), PCI_DEVICE_DATA(&rt2400pci_ops) }, |
1647 | { 0, } | 1647 | { 0, } |
1648 | }; | 1648 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 46cbc6ef66ab..77ee1df7933f 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -1940,7 +1940,7 @@ static const struct rt2x00_ops rt2500pci_ops = { | |||
1940 | /* | 1940 | /* |
1941 | * RT2500pci module information. | 1941 | * RT2500pci module information. |
1942 | */ | 1942 | */ |
1943 | static struct pci_device_id rt2500pci_device_table[] = { | 1943 | static DEFINE_PCI_DEVICE_TABLE(rt2500pci_device_table) = { |
1944 | { PCI_DEVICE(0x1814, 0x0201), PCI_DEVICE_DATA(&rt2500pci_ops) }, | 1944 | { PCI_DEVICE(0x1814, 0x0201), PCI_DEVICE_DATA(&rt2500pci_ops) }, |
1945 | { 0, } | 1945 | { 0, } |
1946 | }; | 1946 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index b93eabb4fbe1..99095e1ee13b 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -1208,7 +1208,7 @@ static const struct rt2x00_ops rt2800pci_ops = { | |||
1208 | /* | 1208 | /* |
1209 | * RT2800pci module information. | 1209 | * RT2800pci module information. |
1210 | */ | 1210 | */ |
1211 | static struct pci_device_id rt2800pci_device_table[] = { | 1211 | static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { |
1212 | { PCI_DEVICE(0x1462, 0x891a), PCI_DEVICE_DATA(&rt2800pci_ops) }, | 1212 | { PCI_DEVICE(0x1462, 0x891a), PCI_DEVICE_DATA(&rt2800pci_ops) }, |
1213 | { PCI_DEVICE(0x1432, 0x7708), PCI_DEVICE_DATA(&rt2800pci_ops) }, | 1213 | { PCI_DEVICE(0x1432, 0x7708), PCI_DEVICE_DATA(&rt2800pci_ops) }, |
1214 | { PCI_DEVICE(0x1432, 0x7727), PCI_DEVICE_DATA(&rt2800pci_ops) }, | 1214 | { PCI_DEVICE(0x1432, 0x7727), PCI_DEVICE_DATA(&rt2800pci_ops) }, |
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index c353b497a65d..1f97a797bc41 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2807,7 +2807,7 @@ static const struct rt2x00_ops rt61pci_ops = { | |||
2807 | /* | 2807 | /* |
2808 | * RT61pci module information. | 2808 | * RT61pci module information. |
2809 | */ | 2809 | */ |
2810 | static struct pci_device_id rt61pci_device_table[] = { | 2810 | static DEFINE_PCI_DEVICE_TABLE(rt61pci_device_table) = { |
2811 | /* RT2561s */ | 2811 | /* RT2561s */ |
2812 | { PCI_DEVICE(0x1814, 0x0301), PCI_DEVICE_DATA(&rt61pci_ops) }, | 2812 | { PCI_DEVICE(0x1814, 0x0301), PCI_DEVICE_DATA(&rt61pci_ops) }, |
2813 | /* RT2561 v2 */ | 2813 | /* RT2561 v2 */ |
diff --git a/drivers/net/wireless/rtl818x/rtl8180_dev.c b/drivers/net/wireless/rtl818x/rtl8180_dev.c index 5a2b7199f5d5..b9192bfcc557 100644 --- a/drivers/net/wireless/rtl818x/rtl8180_dev.c +++ b/drivers/net/wireless/rtl818x/rtl8180_dev.c | |||
@@ -33,7 +33,7 @@ MODULE_AUTHOR("Andrea Merello <andreamrl@tiscali.it>"); | |||
33 | MODULE_DESCRIPTION("RTL8180 / RTL8185 PCI wireless driver"); | 33 | MODULE_DESCRIPTION("RTL8180 / RTL8185 PCI wireless driver"); |
34 | MODULE_LICENSE("GPL"); | 34 | MODULE_LICENSE("GPL"); |
35 | 35 | ||
36 | static struct pci_device_id rtl8180_table[] __devinitdata = { | 36 | static DEFINE_PCI_DEVICE_TABLE(rtl8180_table) = { |
37 | /* rtl8185 */ | 37 | /* rtl8185 */ |
38 | { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8185) }, | 38 | { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8185) }, |
39 | { PCI_DEVICE(PCI_VENDOR_ID_BELKIN, 0x700f) }, | 39 | { PCI_DEVICE(PCI_VENDOR_ID_BELKIN, 0x700f) }, |