diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-01-06 16:00:53 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-02-28 23:31:09 +0300 |
commit | 2afe38d15cee01b2bb8f22383571f7f4a95f2d99 (patch) | |
tree | fb20cff972e089702c3c98bffbc7868bb84834ed /drivers/net/wireless/ipw2x00 | |
parent | 7d9bb2f0653c7830e676f1012051fe9349ce2669 (diff) | |
download | linux-2afe38d15cee01b2bb8f22383571f7f4a95f2d99.tar.xz |
cfg80211-wext: export symbols only when needed
When a fully converted cfg80211 driver needs cfg80211-wext for
userspace API purposes, the symbols need not be exported. When
other drivers (orinoco/hermes or ipw2200) are enabled, they do
need the symbols exported as they use them directly.
Make those drivers select a new CFG80211_WEXT_EXPORT Kconfig
symbol (instead of just CFG80211_WEXT) and export the functions
only if requested - this saves about 1/2k due to the size of
EXPORT_SYMBOL() itself.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r-- | drivers/net/wireless/ipw2x00/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2x00/Kconfig b/drivers/net/wireless/ipw2x00/Kconfig index 21de4fe6cf2d..d6ec44d7a391 100644 --- a/drivers/net/wireless/ipw2x00/Kconfig +++ b/drivers/net/wireless/ipw2x00/Kconfig @@ -66,7 +66,7 @@ config IPW2100_DEBUG config IPW2200 tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection" depends on PCI && CFG80211 - select CFG80211_WEXT + select CFG80211_WEXT_EXPORT select WIRELESS_EXT select WEXT_SPY select WEXT_PRIV |