staging: nvec: Fix Kconfig dependencies
authorJulian Andres Klode <jak@jak-linux.org>
Mon, 26 Dec 2011 16:57:40 +0000 (17:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Jan 2012 18:28:00 +0000 (10:28 -0800)
nvec modules do not require other stuff to be build in,
nor does nvec_ps2 require mouse support, only generic
serio support.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/Kconfig

index 86a8b8c..731301f 100644 (file)
@@ -7,21 +7,21 @@ config MFD_NVEC
 
 config KEYBOARD_NVEC
        bool "Keyboard on nVidia compliant EC"
-       depends on MFD_NVEC && INPUT=y
+       depends on MFD_NVEC && INPUT
        help
          Say Y here to enable support for a keyboard connected to 
          a nVidia compliant embedded controller.
 
 config SERIO_NVEC_PS2
        bool "PS2 on nVidia EC"
-       depends on MFD_NVEC && MOUSE_PS2
+       depends on MFD_NVEC && SERIO
        help
          Say Y here to enable support for a Touchpad / Mouse connected
          to a nVidia compliant embedded controller.
 
 config NVEC_POWER
        bool "NVEC charger and battery"
-       depends on MFD_NVEC && POWER_SUPPLY=y
+       depends on MFD_NVEC && POWER_SUPPLY
        help
          Say Y to enable support for battery and charger interface for
          nVidia compliant embedded controllers.