rtl8192c: fix compilation errors
commit41cae2d01385af4199666db57274c0df3283b065
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Feb 2011 19:39:05 +0000 (24 20:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Feb 2011 22:13:37 +0000 (24 17:13 -0500)
treef84ee7c0bb5e6032ff01675771dae1dd439da9ad
parent1472d3a87586eb7529d1d85f7c888055650b7208
rtl8192c: fix compilation errors

On my G5 this fails to compile with

drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c:701: error: __ksymtab__rtl92c_phy_txpwr_idx_to_dbm causes a section type conflict
drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c:701: error: __ksymtab__rtl92c_phy_txpwr_idx_to_dbm causes a section type conflict
drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c:677: error: __ksymtab__rtl92c_phy_dbm_to_txpwr_Idx causes a section type conflict
drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c:677: error: __ksymtab__rtl92c_phy_dbm_to_txpwr_Idx causes a section type conflict

since you can't export static functions.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c
drivers/net/wireless/rtlwifi/rtl8192c/phy_common.h