diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-30 01:29:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-30 01:29:59 -0400 |
commit | 3a8209d19dd791aaac3668be2fa51a9b42113efd (patch) | |
tree | f047cd9615a8632412d00fab9c6ece4e0a58f0b2 | |
parent | 45e741b89000519bedd4da4e7075a35acf5c655b (diff) |
iwlwifi: move the selects to the tristate drivers
This patch moves the following select's:
- RFKILL : IWLWIFI_RFKILL -> IWLCORE
- RFKILL_INPUT : IWLWIFI_RFKILL -> IWLCORE
- MAC80211_LEDS : IWL4965_LEDS -> IWLCORE
- LEDS_CLASS : IWL4965_LEDS -> IWLCORE
- MAC80211_LEDS : IWL3945_LEDS -> IWL3945
- LEDS_CLASS : IWL3945_LEDS -> IWL3945
The effects are:
- with IWLCORE=m and/or IWL3945=m RFKILL/RFKILL_INPUT/MAC80211_LEDS/LEDS_CLASS
are no longer wrongly forced to y
- fixes a build error with IWLCORE=y, IWL4965=m
might be a bug in kconfig causing it, but doing this change that is
anyway the right thing fixes it
Reported-by: Carlos R. Mafra <crmafra2@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wireless/iwlwifi/Kconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig index 9a25f550fd16..d5b7a76fcaad 100644 --- a/drivers/net/wireless/iwlwifi/Kconfig +++ b/drivers/net/wireless/iwlwifi/Kconfig | |||
@@ -6,6 +6,10 @@ config IWLCORE | |||
6 | tristate "Intel Wireless Wifi Core" | 6 | tristate "Intel Wireless Wifi Core" |
7 | depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL | 7 | depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL |
8 | select IWLWIFI | 8 | select IWLWIFI |
9 | select MAC80211_LEDS if IWLWIFI_LEDS | ||
10 | select LEDS_CLASS if IWLWIFI_LEDS | ||
11 | select RFKILL if IWLWIFI_RFKILL | ||
12 | select RFKILL_INPUT if IWLWIFI_RFKILL | ||
9 | 13 | ||
10 | config IWLWIFI_LEDS | 14 | config IWLWIFI_LEDS |
11 | bool | 15 | bool |
@@ -14,8 +18,6 @@ config IWLWIFI_LEDS | |||
14 | config IWLWIFI_RFKILL | 18 | config IWLWIFI_RFKILL |
15 | boolean "IWLWIFI RF kill support" | 19 | boolean "IWLWIFI RF kill support" |
16 | depends on IWLCORE | 20 | depends on IWLCORE |
17 | select RFKILL | ||
18 | select RFKILL_INPUT | ||
19 | 21 | ||
20 | config IWL4965 | 22 | config IWL4965 |
21 | tristate "Intel Wireless WiFi 4965AGN" | 23 | tristate "Intel Wireless WiFi 4965AGN" |
@@ -55,8 +57,6 @@ config IWL4965_HT | |||
55 | config IWL4965_LEDS | 57 | config IWL4965_LEDS |
56 | bool "Enable LEDS features in iwl4965 driver" | 58 | bool "Enable LEDS features in iwl4965 driver" |
57 | depends on IWL4965 | 59 | depends on IWL4965 |
58 | select MAC80211_LEDS | ||
59 | select LEDS_CLASS | ||
60 | select IWLWIFI_LEDS | 60 | select IWLWIFI_LEDS |
61 | ---help--- | 61 | ---help--- |
62 | This option enables LEDS for the iwlwifi drivers | 62 | This option enables LEDS for the iwlwifi drivers |
@@ -112,6 +112,8 @@ config IWL3945 | |||
112 | depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL | 112 | depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL |
113 | select FW_LOADER | 113 | select FW_LOADER |
114 | select IWLWIFI | 114 | select IWLWIFI |
115 | select MAC80211_LEDS if IWL3945_LEDS | ||
116 | select LEDS_CLASS if IWL3945_LEDS | ||
115 | ---help--- | 117 | ---help--- |
116 | Select to build the driver supporting the: | 118 | Select to build the driver supporting the: |
117 | 119 | ||
@@ -143,8 +145,6 @@ config IWL3945_SPECTRUM_MEASUREMENT | |||
143 | config IWL3945_LEDS | 145 | config IWL3945_LEDS |
144 | bool "Enable LEDS features in iwl3945 driver" | 146 | bool "Enable LEDS features in iwl3945 driver" |
145 | depends on IWL3945 | 147 | depends on IWL3945 |
146 | select MAC80211_LEDS | ||
147 | select LEDS_CLASS | ||
148 | ---help--- | 148 | ---help--- |
149 | This option enables LEDS for the iwl3945 driver. | 149 | This option enables LEDS for the iwl3945 driver. |
150 | 150 | ||