diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-04-25 14:23:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-26 16:14:55 -0400 |
commit | d3bb1429a2c1470d1f84646c00e34dc6784ee06e (patch) | |
tree | 3d3aa086cdcdddd296b829ec7745ee36e9091a27 /drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | |
parent | 76c34f910a5c99a402de5068444563d4c151e794 (diff) |
rtlwifi: rtl8192ce: rtl8192cu: Fix most sparse warnings
Fix most sparse warnings in rtlwifi, rtl8192ce and rtl8192cu drivers.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce/sw.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c index 702dd11b9370..390bbb5ee11d 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "trx.h" | 42 | #include "trx.h" |
43 | #include "led.h" | 43 | #include "led.h" |
44 | 44 | ||
45 | void rtl92c_init_aspm_vars(struct ieee80211_hw *hw) | 45 | static void rtl92c_init_aspm_vars(struct ieee80211_hw *hw) |
46 | { | 46 | { |
47 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); | 47 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); |
48 | 48 | ||
@@ -185,7 +185,7 @@ void rtl92c_deinit_sw_vars(struct ieee80211_hw *hw) | |||
185 | } | 185 | } |
186 | } | 186 | } |
187 | 187 | ||
188 | struct rtl_hal_ops rtl8192ce_hal_ops = { | 188 | static struct rtl_hal_ops rtl8192ce_hal_ops = { |
189 | .init_sw_vars = rtl92c_init_sw_vars, | 189 | .init_sw_vars = rtl92c_init_sw_vars, |
190 | .deinit_sw_vars = rtl92c_deinit_sw_vars, | 190 | .deinit_sw_vars = rtl92c_deinit_sw_vars, |
191 | .read_eeprom_info = rtl92ce_read_eeprom_info, | 191 | .read_eeprom_info = rtl92ce_read_eeprom_info, |
@@ -235,14 +235,14 @@ struct rtl_hal_ops rtl8192ce_hal_ops = { | |||
235 | .dm_dynamic_txpower = rtl92ce_dm_dynamic_txpower, | 235 | .dm_dynamic_txpower = rtl92ce_dm_dynamic_txpower, |
236 | }; | 236 | }; |
237 | 237 | ||
238 | struct rtl_mod_params rtl92ce_mod_params = { | 238 | static struct rtl_mod_params rtl92ce_mod_params = { |
239 | .sw_crypto = false, | 239 | .sw_crypto = false, |
240 | .inactiveps = true, | 240 | .inactiveps = true, |
241 | .swctrl_lps = false, | 241 | .swctrl_lps = false, |
242 | .fwctrl_lps = true, | 242 | .fwctrl_lps = true, |
243 | }; | 243 | }; |
244 | 244 | ||
245 | struct rtl_hal_cfg rtl92ce_hal_cfg = { | 245 | static struct rtl_hal_cfg rtl92ce_hal_cfg = { |
246 | .bar_id = 2, | 246 | .bar_id = 2, |
247 | .write_readback = true, | 247 | .write_readback = true, |
248 | .name = "rtl92c_pci", | 248 | .name = "rtl92c_pci", |