MIPS: MIPSsim: Fix build error if MSC01E_INT_BASE is undefined.
[pandora-kernel.git] / net / rfkill / Kconfig
index 7f807b3..eaf7658 100644 (file)
@@ -10,22 +10,15 @@ menuconfig RFKILL
          To compile this driver as a module, choose M here: the
          module will be called rfkill.
 
-config RFKILL_INPUT
-       tristate "Input layer to RF switch connector"
-       depends on RFKILL && INPUT
-       help
-         Say Y here if you want kernel automatically toggle state
-         of RF switches on and off when user presses appropriate
-         button or a key on the keyboard. Without this module you
-         need a some kind of userspace application to control
-         state of the switches.
-
-         To compile this driver as a module, choose M here: the
-         module will be called rfkill-input.
-
 # LED trigger support
 config RFKILL_LEDS
        bool
-       depends on RFKILL && LEDS_TRIGGERS
+       depends on RFKILL
+       depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
        default y
 
+config RFKILL_INPUT
+       bool "RF switch input support" if EMBEDDED
+       depends on RFKILL
+       depends on INPUT = y || RFKILL = INPUT
+       default y if !EMBEDDED