]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8192c: fix compilation errors
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Feb 2011 19:39:05 +0000 (20:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Feb 2011 22:13:37 +0000 (17:13 -0500)
commita1c711975e506d6cf109a374d92bc2daba9666a3
treef84ee7c0bb5e6032ff01675771dae1dd439da9ad
parentbcc93961a1c8bf01a8e870e279299ba56abce577
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