summaryrefslogtreecommitdiff
path: root/drivers/staging/nvec/Kconfig
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2011-09-27 17:00:47 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-30 00:40:40 (GMT)
commitb414e2eb3a487c901c6e0c515753fc0905784eac (patch)
treedf48d596f44f3f3d1c0cdcc1fe9e12f4fad17f26 /drivers/staging/nvec/Kconfig
parent7c6b6c7110a2b51d579f791aaaf4878ebf066962 (diff)
downloadlinux-fsl-qoriq-b414e2eb3a487c901c6e0c515753fc0905784eac.tar.xz
staging: nvec: fix Kconfig dependencies
This patch adds config dependencies for the NVEC keyboard, mouse, and power drivers. Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/nvec/Kconfig')
-rw-r--r--drivers/staging/nvec/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/nvec/Kconfig b/drivers/staging/nvec/Kconfig
index a86cf27..86a8b8c 100644
--- a/drivers/staging/nvec/Kconfig
+++ b/drivers/staging/nvec/Kconfig
@@ -7,21 +7,21 @@ config MFD_NVEC
config KEYBOARD_NVEC
bool "Keyboard on nVidia compliant EC"
- depends on MFD_NVEC
+ depends on MFD_NVEC && INPUT=y
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
+ depends on MFD_NVEC && MOUSE_PS2
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
+ depends on MFD_NVEC && POWER_SUPPLY=y
help
Say Y to enable support for battery and charger interface for
nVidia compliant embedded controllers.