summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-01-06 14:00:53 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-02-28 21:31:09 +0100
commit2afe38d15cee01b2bb8f22383571f7f4a95f2d99 (patch)
treefb20cff972e089702c3c98bffbc7868bb84834ed /drivers/net/wireless/ipw2x00
parent7d9bb2f0653c7830e676f1012051fe9349ce2669 (diff)
downloadop-kernel-dev-2afe38d15cee01b2bb8f22383571f7f4a95f2d99.zip
op-kernel-dev-2afe38d15cee01b2bb8f22383571f7f4a95f2d99.tar.gz
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/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2x00/Kconfig b/drivers/net/wireless/ipw2x00/Kconfig
index 21de4fe..d6ec44d 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
OpenPOWER on IntegriCloud