summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-04-19 16:32:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-04-23 15:35:32 -0400
commit40332e5fd3fff3cb4ab3ceb173033dcfab4d48d5 (patch)
treefe7a705df1c88e4f59c03d92e38691d1fad2c0e6 /drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
parent0985dfbc512da3e7f63b3071b8373f5300d0e40b (diff)
downloadop-kernel-dev-40332e5fd3fff3cb4ab3ceb173033dcfab4d48d5.zip
op-kernel-dev-40332e5fd3fff3cb4ab3ceb173033dcfab4d48d5.tar.gz
rtlwifi: rtl8192c: Convert driver to use private dm structs
Convert rtl8192c to use the dm_digtable struct in the common header file instead of the global variable. Without this change, every instance of rtl8192ce and rtl8192cu will be using the same global arrays. 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/rtl8192c/dm_common.h')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h b/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
index b3180ea..518e208 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
+++ b/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
@@ -155,7 +155,6 @@ enum dm_dig_connect_e {
DIG_CONNECT_MAX
};
-extern struct dig_t dm_digtable;
void rtl92c_dm_init(struct ieee80211_hw *hw);
void rtl92c_dm_watchdog(struct ieee80211_hw *hw);
void rtl92c_dm_write_dig(struct ieee80211_hw *hw);
OpenPOWER on IntegriCloud