From: Johannes Berg Date: Tue, 6 Jan 2015 13:00:53 +0000 (+0100) Subject: cfg80211-wext: export symbols only when needed X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~105^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2afe38d15cee01b2bb8f22383571f7f4a95f2d99;p=pandora-kernel.git 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 --- Reading git-diff-tree failed