diff options
Diffstat (limited to 'drivers/net/wireless')
30 files changed, 30 insertions, 30 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index f35f93c31b09..17fcaabb2687 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c | |||
@@ -41,7 +41,7 @@ static unsigned int rx_ring_size __read_mostly = 16; | |||
41 | module_param(tx_ring_size, uint, 0); | 41 | module_param(tx_ring_size, uint, 0); |
42 | module_param(rx_ring_size, uint, 0); | 42 | module_param(rx_ring_size, uint, 0); |
43 | 43 | ||
44 | static DEFINE_PCI_DEVICE_TABLE(adm8211_pci_id_table) = { | 44 | static const struct pci_device_id adm8211_pci_id_table[] = { |
45 | /* ADMtek ADM8211 */ | 45 | /* ADMtek ADM8211 */ |
46 | { PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */ | 46 | { PCI_DEVICE(0x10B7, 0x6000) }, /* 3Com 3CRSHPW796 */ |
47 | { PCI_DEVICE(0x1200, 0x8201) }, /* ? */ | 47 | { PCI_DEVICE(0x1200, 0x8201) }, /* ? */ |
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index b39807579a8a..e71a2ce7a448 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 DEFINE_PCI_DEVICE_TABLE(card_ids) = { | 60 | static const struct pci_device_id 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/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 0ffff205478d..3376963a4862 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c | |||
@@ -63,7 +63,7 @@ MODULE_PARM_DESC(reset_mode, "0: auto, 1: warm only (default: 0)"); | |||
63 | 63 | ||
64 | #define QCA988X_2_0_DEVICE_ID (0x003c) | 64 | #define QCA988X_2_0_DEVICE_ID (0x003c) |
65 | 65 | ||
66 | static DEFINE_PCI_DEVICE_TABLE(ath10k_pci_id_table) = { | 66 | static const struct pci_device_id ath10k_pci_id_table[] = { |
67 | { PCI_VDEVICE(ATHEROS, QCA988X_2_0_DEVICE_ID) }, /* PCI-E QCA988X V2 */ | 67 | { PCI_VDEVICE(ATHEROS, QCA988X_2_0_DEVICE_ID) }, /* PCI-E QCA988X V2 */ |
68 | {0} | 68 | {0} |
69 | }; | 69 | }; |
diff --git a/drivers/net/wireless/ath/ath5k/led.c b/drivers/net/wireless/ath/ath5k/led.c index f77ef36acf87..48a6a69b57bc 100644 --- a/drivers/net/wireless/ath/ath5k/led.c +++ b/drivers/net/wireless/ath/ath5k/led.c | |||
@@ -53,7 +53,7 @@ | |||
53 | #define ATH_POLARITY(data) ((data) & 0xff) | 53 | #define ATH_POLARITY(data) ((data) & 0xff) |
54 | 54 | ||
55 | /* Devices we match on for LED config info (typically laptops) */ | 55 | /* Devices we match on for LED config info (typically laptops) */ |
56 | static DEFINE_PCI_DEVICE_TABLE(ath5k_led_devices) = { | 56 | static const struct pci_device_id ath5k_led_devices[] = { |
57 | /* AR5211 */ | 57 | /* AR5211 */ |
58 | { PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5211), ATH_LED(0, 0) }, | 58 | { PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5211), ATH_LED(0, 0) }, |
59 | /* HP Compaq nc6xx, nc4000, nx6000 */ | 59 | /* HP Compaq nc6xx, nc4000, nx6000 */ |
diff --git a/drivers/net/wireless/ath/ath5k/pci.c b/drivers/net/wireless/ath/ath5k/pci.c index 859db7c34f87..c6156cc38940 100644 --- a/drivers/net/wireless/ath/ath5k/pci.c +++ b/drivers/net/wireless/ath/ath5k/pci.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "reg.h" | 28 | #include "reg.h" |
29 | 29 | ||
30 | /* Known PCI ids */ | 30 | /* Known PCI ids */ |
31 | static DEFINE_PCI_DEVICE_TABLE(ath5k_pci_id_table) = { | 31 | static const struct pci_device_id ath5k_pci_id_table[] = { |
32 | { PCI_VDEVICE(ATHEROS, 0x0207) }, /* 5210 early */ | 32 | { PCI_VDEVICE(ATHEROS, 0x0207) }, /* 5210 early */ |
33 | { PCI_VDEVICE(ATHEROS, 0x0007) }, /* 5210 */ | 33 | { PCI_VDEVICE(ATHEROS, 0x0007) }, /* 5210 */ |
34 | { PCI_VDEVICE(ATHEROS, 0x0011) }, /* 5311 - this is on AHB bus !*/ | 34 | { 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 7a2b2c5caced..c018dea0b2e8 100644 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include "ath9k.h" | 24 | #include "ath9k.h" |
25 | 25 | ||
26 | static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = { | 26 | static const struct pci_device_id ath_pci_id_table[] = { |
27 | { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */ | 27 | { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */ |
28 | { PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */ | 28 | { PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */ |
29 | { PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */ | 29 | { PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */ |
diff --git a/drivers/net/wireless/atmel_pci.c b/drivers/net/wireless/atmel_pci.c index 5cd97e3cbee3..bcf1f274a251 100644 --- a/drivers/net/wireless/atmel_pci.c +++ b/drivers/net/wireless/atmel_pci.c | |||
@@ -30,7 +30,7 @@ MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards.") | |||
30 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); |
31 | MODULE_SUPPORTED_DEVICE("Atmel at76c506 PCI wireless cards"); | 31 | MODULE_SUPPORTED_DEVICE("Atmel at76c506 PCI wireless cards"); |
32 | 32 | ||
33 | static DEFINE_PCI_DEVICE_TABLE(card_ids) = { | 33 | static const struct pci_device_id card_ids[] = { |
34 | { 0x1114, 0x0506, PCI_ANY_ID, PCI_ANY_ID }, | 34 | { 0x1114, 0x0506, PCI_ANY_ID, PCI_ANY_ID }, |
35 | { 0, } | 35 | { 0, } |
36 | }; | 36 | }; |
diff --git a/drivers/net/wireless/hostap/hostap_pci.c b/drivers/net/wireless/hostap/hostap_pci.c index 91158e2e961c..c864ef4b0015 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 DEFINE_PCI_DEVICE_TABLE(prism2_pci_id_table) = { | 42 | static const struct pci_device_id 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 3bf530d9a40f..4901a99c6c59 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 DEFINE_PCI_DEVICE_TABLE(prism2_plx_id_table) = { | 63 | static const struct pci_device_id 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 1ab8e500fb77..c3d726f334e3 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -6505,7 +6505,7 @@ static void ipw2100_shutdown(struct pci_dev *pci_dev) | |||
6505 | 6505 | ||
6506 | #define IPW2100_DEV_ID(x) { PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, x } | 6506 | #define IPW2100_DEV_ID(x) { PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, x } |
6507 | 6507 | ||
6508 | static DEFINE_PCI_DEVICE_TABLE(ipw2100_pci_id_table) = { | 6508 | static const struct pci_device_id ipw2100_pci_id_table[] = { |
6509 | IPW2100_DEV_ID(0x2520), /* IN 2100A mPCI 3A */ | 6509 | IPW2100_DEV_ID(0x2520), /* IN 2100A mPCI 3A */ |
6510 | IPW2100_DEV_ID(0x2521), /* IN 2100A mPCI 3B */ | 6510 | IPW2100_DEV_ID(0x2521), /* IN 2100A mPCI 3B */ |
6511 | IPW2100_DEV_ID(0x2524), /* IN 2100A mPCI 3B */ | 6511 | 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 c5aa404069f3..800b62bb41e8 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -11542,7 +11542,7 @@ out: | |||
11542 | } | 11542 | } |
11543 | 11543 | ||
11544 | /* PCI driver stuff */ | 11544 | /* PCI driver stuff */ |
11545 | static DEFINE_PCI_DEVICE_TABLE(card_ids) = { | 11545 | static const struct pci_device_id card_ids[] = { |
11546 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2701, 0, 0, 0}, | 11546 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2701, 0, 0, 0}, |
11547 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2702, 0, 0, 0}, | 11547 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2702, 0, 0, 0}, |
11548 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2711, 0, 0, 0}, | 11548 | {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2711, 0, 0, 0}, |
diff --git a/drivers/net/wireless/iwlegacy/3945.c b/drivers/net/wireless/iwlegacy/3945.c index b598e2803500..93bdf684babe 100644 --- a/drivers/net/wireless/iwlegacy/3945.c +++ b/drivers/net/wireless/iwlegacy/3945.c | |||
@@ -2728,7 +2728,7 @@ static struct il_cfg il3945_abg_cfg = { | |||
2728 | }, | 2728 | }, |
2729 | }; | 2729 | }; |
2730 | 2730 | ||
2731 | DEFINE_PCI_DEVICE_TABLE(il3945_hw_card_ids) = { | 2731 | const struct pci_device_id il3945_hw_card_ids[] = { |
2732 | {IL_PCI_DEVICE(0x4222, 0x1005, il3945_bg_cfg)}, | 2732 | {IL_PCI_DEVICE(0x4222, 0x1005, il3945_bg_cfg)}, |
2733 | {IL_PCI_DEVICE(0x4222, 0x1034, il3945_bg_cfg)}, | 2733 | {IL_PCI_DEVICE(0x4222, 0x1034, il3945_bg_cfg)}, |
2734 | {IL_PCI_DEVICE(0x4222, 0x1044, il3945_bg_cfg)}, | 2734 | {IL_PCI_DEVICE(0x4222, 0x1044, il3945_bg_cfg)}, |
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index c159c05db6ef..3dcbe2cd2b28 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -6800,7 +6800,7 @@ il4965_txq_set_sched(struct il_priv *il, u32 mask) | |||
6800 | *****************************************************************************/ | 6800 | *****************************************************************************/ |
6801 | 6801 | ||
6802 | /* Hardware specific file defines the PCI IDs table for that hardware module */ | 6802 | /* Hardware specific file defines the PCI IDs table for that hardware module */ |
6803 | static DEFINE_PCI_DEVICE_TABLE(il4965_hw_card_ids) = { | 6803 | static const struct pci_device_id il4965_hw_card_ids[] = { |
6804 | {IL_PCI_DEVICE(0x4229, PCI_ANY_ID, il4965_cfg)}, | 6804 | {IL_PCI_DEVICE(0x4229, PCI_ANY_ID, il4965_cfg)}, |
6805 | {IL_PCI_DEVICE(0x4230, PCI_ANY_ID, il4965_cfg)}, | 6805 | {IL_PCI_DEVICE(0x4230, PCI_ANY_ID, il4965_cfg)}, |
6806 | {0} | 6806 | {0} |
diff --git a/drivers/net/wireless/iwlwifi/pcie/drv.c b/drivers/net/wireless/iwlwifi/pcie/drv.c index 98950e45c7b0..f0e722ced080 100644 --- a/drivers/net/wireless/iwlwifi/pcie/drv.c +++ b/drivers/net/wireless/iwlwifi/pcie/drv.c | |||
@@ -78,7 +78,7 @@ | |||
78 | .driver_data = (kernel_ulong_t)&(cfg) | 78 | .driver_data = (kernel_ulong_t)&(cfg) |
79 | 79 | ||
80 | /* Hardware specific file defines the PCI IDs table for that hardware module */ | 80 | /* Hardware specific file defines the PCI IDs table for that hardware module */ |
81 | static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = { | 81 | static const struct pci_device_id iwl_hw_card_ids[] = { |
82 | #if IS_ENABLED(CONFIG_IWLDVM) | 82 | #if IS_ENABLED(CONFIG_IWLDVM) |
83 | {IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */ | 83 | {IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */ |
84 | {IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */ | 84 | {IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */ |
diff --git a/drivers/net/wireless/mwifiex/pcie.c b/drivers/net/wireless/mwifiex/pcie.c index c16dd2cc8198..ff0545888dd0 100644 --- a/drivers/net/wireless/mwifiex/pcie.c +++ b/drivers/net/wireless/mwifiex/pcie.c | |||
@@ -257,7 +257,7 @@ static void mwifiex_pcie_shutdown(struct pci_dev *pdev) | |||
257 | return; | 257 | return; |
258 | } | 258 | } |
259 | 259 | ||
260 | static DEFINE_PCI_DEVICE_TABLE(mwifiex_ids) = { | 260 | static const struct pci_device_id mwifiex_ids[] = { |
261 | { | 261 | { |
262 | PCIE_VENDOR_ID_MARVELL, PCIE_DEVICE_ID_MARVELL_88W8766P, | 262 | PCIE_VENDOR_ID_MARVELL, PCIE_DEVICE_ID_MARVELL_88W8766P, |
263 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | 263 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, |
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index fc6cb215e761..ef1104476bd8 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -5674,7 +5674,7 @@ MODULE_FIRMWARE("mwl8k/helper_8366.fw"); | |||
5674 | MODULE_FIRMWARE("mwl8k/fmimage_8366.fw"); | 5674 | MODULE_FIRMWARE("mwl8k/fmimage_8366.fw"); |
5675 | MODULE_FIRMWARE(MWL8K_8366_AP_FW(MWL8K_8366_AP_FW_API)); | 5675 | MODULE_FIRMWARE(MWL8K_8366_AP_FW(MWL8K_8366_AP_FW_API)); |
5676 | 5676 | ||
5677 | static DEFINE_PCI_DEVICE_TABLE(mwl8k_pci_id_table) = { | 5677 | static const struct pci_device_id mwl8k_pci_id_table[] = { |
5678 | { PCI_VDEVICE(MARVELL, 0x2a0a), .driver_data = MWL8363, }, | 5678 | { PCI_VDEVICE(MARVELL, 0x2a0a), .driver_data = MWL8363, }, |
5679 | { PCI_VDEVICE(MARVELL, 0x2a0c), .driver_data = MWL8363, }, | 5679 | { PCI_VDEVICE(MARVELL, 0x2a0c), .driver_data = MWL8363, }, |
5680 | { PCI_VDEVICE(MARVELL, 0x2a24), .driver_data = MWL8363, }, | 5680 | { PCI_VDEVICE(MARVELL, 0x2a24), .driver_data = MWL8363, }, |
diff --git a/drivers/net/wireless/orinoco/orinoco_nortel.c b/drivers/net/wireless/orinoco/orinoco_nortel.c index ffb2469eb679..1b543e30eff7 100644 --- a/drivers/net/wireless/orinoco/orinoco_nortel.c +++ b/drivers/net/wireless/orinoco/orinoco_nortel.c | |||
@@ -272,7 +272,7 @@ static void orinoco_nortel_remove_one(struct pci_dev *pdev) | |||
272 | pci_disable_device(pdev); | 272 | pci_disable_device(pdev); |
273 | } | 273 | } |
274 | 274 | ||
275 | static DEFINE_PCI_DEVICE_TABLE(orinoco_nortel_id_table) = { | 275 | static const struct pci_device_id orinoco_nortel_id_table[] = { |
276 | /* Nortel emobility PCI */ | 276 | /* Nortel emobility PCI */ |
277 | {0x126c, 0x8030, PCI_ANY_ID, PCI_ANY_ID,}, | 277 | {0x126c, 0x8030, PCI_ANY_ID, PCI_ANY_ID,}, |
278 | /* Symbol LA-4123 PCI */ | 278 | /* Symbol LA-4123 PCI */ |
diff --git a/drivers/net/wireless/orinoco/orinoco_pci.c b/drivers/net/wireless/orinoco/orinoco_pci.c index 5ae1191d2532..b6bdad632842 100644 --- a/drivers/net/wireless/orinoco/orinoco_pci.c +++ b/drivers/net/wireless/orinoco/orinoco_pci.c | |||
@@ -210,7 +210,7 @@ static void orinoco_pci_remove_one(struct pci_dev *pdev) | |||
210 | pci_disable_device(pdev); | 210 | pci_disable_device(pdev); |
211 | } | 211 | } |
212 | 212 | ||
213 | static DEFINE_PCI_DEVICE_TABLE(orinoco_pci_id_table) = { | 213 | static const struct pci_device_id orinoco_pci_id_table[] = { |
214 | /* Intersil Prism 3 */ | 214 | /* Intersil Prism 3 */ |
215 | {0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID,}, | 215 | {0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID,}, |
216 | /* Intersil Prism 2.5 */ | 216 | /* Intersil Prism 2.5 */ |
diff --git a/drivers/net/wireless/orinoco/orinoco_plx.c b/drivers/net/wireless/orinoco/orinoco_plx.c index bbd36d1676ff..b8f6e5c431ae 100644 --- a/drivers/net/wireless/orinoco/orinoco_plx.c +++ b/drivers/net/wireless/orinoco/orinoco_plx.c | |||
@@ -308,7 +308,7 @@ static void orinoco_plx_remove_one(struct pci_dev *pdev) | |||
308 | pci_disable_device(pdev); | 308 | pci_disable_device(pdev); |
309 | } | 309 | } |
310 | 310 | ||
311 | static DEFINE_PCI_DEVICE_TABLE(orinoco_plx_id_table) = { | 311 | static const struct pci_device_id orinoco_plx_id_table[] = { |
312 | {0x111a, 0x1023, PCI_ANY_ID, PCI_ANY_ID,}, /* Siemens SpeedStream SS1023 */ | 312 | {0x111a, 0x1023, PCI_ANY_ID, PCI_ANY_ID,}, /* Siemens SpeedStream SS1023 */ |
313 | {0x1385, 0x4100, PCI_ANY_ID, PCI_ANY_ID,}, /* Netgear MA301 */ | 313 | {0x1385, 0x4100, PCI_ANY_ID, PCI_ANY_ID,}, /* Netgear MA301 */ |
314 | {0x15e8, 0x0130, PCI_ANY_ID, PCI_ANY_ID,}, /* Correga - does this work? */ | 314 | {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 04b08de5fd5d..79d0e33b625e 100644 --- a/drivers/net/wireless/orinoco/orinoco_tmd.c +++ b/drivers/net/wireless/orinoco/orinoco_tmd.c | |||
@@ -201,7 +201,7 @@ static void orinoco_tmd_remove_one(struct pci_dev *pdev) | |||
201 | pci_disable_device(pdev); | 201 | pci_disable_device(pdev); |
202 | } | 202 | } |
203 | 203 | ||
204 | static DEFINE_PCI_DEVICE_TABLE(orinoco_tmd_id_table) = { | 204 | static const struct pci_device_id orinoco_tmd_id_table[] = { |
205 | {0x15e8, 0x0131, PCI_ANY_ID, PCI_ANY_ID,}, /* NDC and OEMs, e.g. pheecom */ | 205 | {0x15e8, 0x0131, PCI_ANY_ID, PCI_ANY_ID,}, /* NDC and OEMs, e.g. pheecom */ |
206 | {0,}, | 206 | {0,}, |
207 | }; | 207 | }; |
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c index d411de409050..d4aee64fb5ea 100644 --- a/drivers/net/wireless/p54/p54pci.c +++ b/drivers/net/wireless/p54/p54pci.c | |||
@@ -32,7 +32,7 @@ MODULE_LICENSE("GPL"); | |||
32 | MODULE_ALIAS("prism54pci"); | 32 | MODULE_ALIAS("prism54pci"); |
33 | MODULE_FIRMWARE("isl3886pci"); | 33 | MODULE_FIRMWARE("isl3886pci"); |
34 | 34 | ||
35 | static DEFINE_PCI_DEVICE_TABLE(p54p_table) = { | 35 | static const struct pci_device_id p54p_table[] = { |
36 | /* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ | 36 | /* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ |
37 | { PCI_DEVICE(0x1260, 0x3890) }, | 37 | { PCI_DEVICE(0x1260, 0x3890) }, |
38 | /* 3COM 3CRWE154G72 Wireless LAN adapter */ | 38 | /* 3COM 3CRWE154G72 Wireless LAN adapter */ |
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index 1105a12dbde8..300c846ea087 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://wireless.kernel.org/en/users/Drivers/p54 */ | 41 | * The latest list can be found at http://wireless.kernel.org/en/users/Drivers/p54 */ |
42 | static DEFINE_PCI_DEVICE_TABLE(prism54_id_tbl) = { | 42 | static const struct pci_device_id 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 4ccfef5094e0..bdf5590ba304 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1821,7 +1821,7 @@ static const struct rt2x00_ops rt2400pci_ops = { | |||
1821 | /* | 1821 | /* |
1822 | * RT2400pci module information. | 1822 | * RT2400pci module information. |
1823 | */ | 1823 | */ |
1824 | static DEFINE_PCI_DEVICE_TABLE(rt2400pci_device_table) = { | 1824 | static const struct pci_device_id rt2400pci_device_table[] = { |
1825 | { PCI_DEVICE(0x1814, 0x0101) }, | 1825 | { PCI_DEVICE(0x1814, 0x0101) }, |
1826 | { 0, } | 1826 | { 0, } |
1827 | }; | 1827 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index a511cccc9f01..79f4fe65a119 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -2120,7 +2120,7 @@ static const struct rt2x00_ops rt2500pci_ops = { | |||
2120 | /* | 2120 | /* |
2121 | * RT2500pci module information. | 2121 | * RT2500pci module information. |
2122 | */ | 2122 | */ |
2123 | static DEFINE_PCI_DEVICE_TABLE(rt2500pci_device_table) = { | 2123 | static const struct pci_device_id rt2500pci_device_table[] = { |
2124 | { PCI_DEVICE(0x1814, 0x0201) }, | 2124 | { PCI_DEVICE(0x1814, 0x0201) }, |
2125 | { 0, } | 2125 | { 0, } |
2126 | }; | 2126 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index a5b32ca2cf0f..cc1b3cc73c5a 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -400,7 +400,7 @@ static const struct rt2x00_ops rt2800pci_ops = { | |||
400 | /* | 400 | /* |
401 | * RT2800pci module information. | 401 | * RT2800pci module information. |
402 | */ | 402 | */ |
403 | static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { | 403 | static const struct pci_device_id rt2800pci_device_table[] = { |
404 | { PCI_DEVICE(0x1814, 0x0601) }, | 404 | { PCI_DEVICE(0x1814, 0x0601) }, |
405 | { PCI_DEVICE(0x1814, 0x0681) }, | 405 | { PCI_DEVICE(0x1814, 0x0681) }, |
406 | { PCI_DEVICE(0x1814, 0x0701) }, | 406 | { PCI_DEVICE(0x1814, 0x0701) }, |
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 9048a9cbe52c..819455009fe4 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -3075,7 +3075,7 @@ static const struct rt2x00_ops rt61pci_ops = { | |||
3075 | /* | 3075 | /* |
3076 | * RT61pci module information. | 3076 | * RT61pci module information. |
3077 | */ | 3077 | */ |
3078 | static DEFINE_PCI_DEVICE_TABLE(rt61pci_device_table) = { | 3078 | static const struct pci_device_id rt61pci_device_table[] = { |
3079 | /* RT2561s */ | 3079 | /* RT2561s */ |
3080 | { PCI_DEVICE(0x1814, 0x0301) }, | 3080 | { PCI_DEVICE(0x1814, 0x0301) }, |
3081 | /* RT2561 v2 */ | 3081 | /* RT2561 v2 */ |
diff --git a/drivers/net/wireless/rtl818x/rtl8180/dev.c b/drivers/net/wireless/rtl818x/rtl8180/dev.c index fcc45e5bf50a..026d912f516b 100644 --- a/drivers/net/wireless/rtl818x/rtl8180/dev.c +++ b/drivers/net/wireless/rtl818x/rtl8180/dev.c | |||
@@ -64,7 +64,7 @@ MODULE_AUTHOR("Andrea Merello <andrea.merello@gmail.com>"); | |||
64 | MODULE_DESCRIPTION("RTL8180 / RTL8185 / RTL8187SE PCI wireless driver"); | 64 | MODULE_DESCRIPTION("RTL8180 / RTL8185 / RTL8187SE PCI wireless driver"); |
65 | MODULE_LICENSE("GPL"); | 65 | MODULE_LICENSE("GPL"); |
66 | 66 | ||
67 | static DEFINE_PCI_DEVICE_TABLE(rtl8180_table) = { | 67 | static const struct pci_device_id rtl8180_table[] = { |
68 | 68 | ||
69 | /* rtl8187se */ | 69 | /* rtl8187se */ |
70 | { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8199) }, | 70 | { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8199) }, |
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c index 842d69349a37..631b6907c17d 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | |||
@@ -364,7 +364,7 @@ static struct rtl_hal_cfg rtl88ee_hal_cfg = { | |||
364 | .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15, | 364 | .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15, |
365 | }; | 365 | }; |
366 | 366 | ||
367 | static DEFINE_PCI_DEVICE_TABLE(rtl88ee_pci_ids) = { | 367 | static const struct pci_device_id rtl88ee_pci_ids[] = { |
368 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8179, rtl88ee_hal_cfg)}, | 368 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8179, rtl88ee_hal_cfg)}, |
369 | {}, | 369 | {}, |
370 | }; | 370 | }; |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c index 12f21f4073e8..4bbdfb2df363 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | |||
@@ -344,7 +344,7 @@ static struct rtl_hal_cfg rtl92ce_hal_cfg = { | |||
344 | .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, | 344 | .maps[RTL_RC_HT_RATEMCS15] = DESC92_RATEMCS15, |
345 | }; | 345 | }; |
346 | 346 | ||
347 | static DEFINE_PCI_DEVICE_TABLE(rtl92ce_pci_ids) = { | 347 | static const struct pci_device_id rtl92ce_pci_ids[] = { |
348 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8191, rtl92ce_hal_cfg)}, | 348 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8191, rtl92ce_hal_cfg)}, |
349 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8178, rtl92ce_hal_cfg)}, | 349 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8178, rtl92ce_hal_cfg)}, |
350 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8177, rtl92ce_hal_cfg)}, | 350 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8177, rtl92ce_hal_cfg)}, |
diff --git a/drivers/net/wireless/rtlwifi/rtl8723be/sw.c b/drivers/net/wireless/rtlwifi/rtl8723be/sw.c index ff12bf41644b..532913c6622a 100644 --- a/drivers/net/wireless/rtlwifi/rtl8723be/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8723be/sw.c | |||
@@ -348,7 +348,7 @@ static struct rtl_hal_cfg rtl8723be_hal_cfg = { | |||
348 | .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15, | 348 | .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15, |
349 | }; | 349 | }; |
350 | 350 | ||
351 | static DEFINE_PCI_DEVICE_TABLE(rtl8723be_pci_id) = { | 351 | static const struct pci_device_id rtl8723be_pci_id[] = { |
352 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xb723, rtl8723be_hal_cfg)}, | 352 | {RTL_PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xb723, rtl8723be_hal_cfg)}, |
353 | {}, | 353 | {}, |
354 | }; | 354 | }; |