rfkill: remove input Kconfig
Johannes Berg
maintainerPATCH 1/1 rfkill: remove input Kconfig
Now that we added the ioctl, there's no need to ask the user to configure this. We will keept it enabled for now, and eventually swap the default to n, maybe let people configure it under EMBEDDED or so. In any case, there's no need to bother users with this now.
--- net/rfkill/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/rfkill/Kconfig +2 -2
@@ -18,7 +18,7 @@ config RFKILL_LEDS default y config RFKILL_INPUT - bool "RF switch input support" + bool depends on RFKILL depends on INPUT = y || RFKILL = INPUT - default y if !EMBEDDED + default y
Hi Johannes,
Quoted 14 lines
Now that we added the ioctl, there's no need to ask the user to configure this. We will keept it enabled for now, and eventually swap the default to n, maybe let people configure it under EMBEDDED or so. In any case, there's no need to bother users with this now.
Signed-off-by Johannes Berg <[email protected]>--- net/rfkill/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/rfkill/Kconfig config RFKILL_LEDS · line 24
Quoted 9 lines
net/rfkill/Kconfig +2
-2@@ -18,7 +18,7 @@ config RFKILL_LEDS default y config RFKILL_INPUT - bool "RF switch input support" + bool depends on RFKILL depends on INPUT = y || RFKILL = INPUT - default y if !EMBEDDED + default y
if you want this for normal setups, I totally agree that we not should ask the user. However when in EMBEDDED, lets give them a chance to not compile this in. Since most likely it is not needed at all.
Regards
Marcel
Johannes Berg
maintainerPATCH v2 1/1 rfkill: remove input Kconfig
Now that we added the ioctl, there's no need to ask the user to configure this. We will keep it enabled for now, and eventually swap the default to n. Also let embedded users select it only if they need it.
---
v2: Turn default back to N for embedded, and make the question itself
depend on embedded.
net/rfkill/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/rfkill/Kconfig +1 -1
@@ -18,7 +18,7 @@ config RFKILL_LEDS default y config RFKILL_INPUT - bool "RF switch input support" + bool "RF switch input support" if EMBEDDED depends on RFKILL depends on INPUT = y || RFKILL = INPUT default y if !EMBEDDED