aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-28 18:13:33 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 10:47:56 -0500
commit48e29340d54104ab0d8f995f32485e28ff00e59e (patch)
tree75bde4e351d2e7181adaf28251456bfd3c9d92a0 /drivers/net/wireless/iwlwifi/Kconfig
parent1218206e9d642f63801417156be46d8d0175164a (diff)
iwlwifi: export symbols only conditionally
If all the pieces of iwlwifi are built into the kernel then there's no need for it to export its symbols to other modules, so prevent that. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/Kconfig')
-rw-r--r--drivers/net/wireless/iwlwifi/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
index 615ed10825b8..56c2040a955b 100644
--- a/drivers/net/wireless/iwlwifi/Kconfig
+++ b/drivers/net/wireless/iwlwifi/Kconfig
@@ -58,6 +58,12 @@ config IWLMVM
58 58
59 Say yes if you have such a device. 59 Say yes if you have such a device.
60 60
61# don't call it _MODULE -- will confuse Kconfig/fixdep/...
62config IWLWIFI_OPMODE_MODULAR
63 bool
64 default y if IWLDVM=m
65 default y if IWLMVM=m
66
61comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM" 67comment "WARNING: iwlwifi is useless without IWLDVM or IWLMVM"
62 depends on IWLWIFI && IWLDVM=n && IWLMVM=n 68 depends on IWLWIFI && IWLDVM=n && IWLMVM=n
63 69