summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/input/Kconfig6
-rw-r--r--drivers/input/keyboard/Kconfig4
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 7e6fcccb6d54..00c767e430fe 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -5,7 +5,7 @@
menu "Input device support"
config INPUT
- tristate "Input devices (needed for keyboard, mouse, ...)"
+ tristate "Input devices (needed for keyboard, mouse, ...)" if EMBEDDED
default y
---help---
Say Y here if you have any input device (mouse, keyboard, tablet,
@@ -27,7 +27,7 @@ config INPUT
comment "Userland interfaces"
config INPUT_MOUSEDEV
- tristate "Mouse interface"
+ tristate "Mouse interface" if EMBEDDED
default y
depends on INPUT
---help---
@@ -45,7 +45,7 @@ config INPUT_MOUSEDEV
a module, say M here and read <file:Documentation/modules.txt>.
config INPUT_MOUSEDEV_PSAUX
- bool "Provide legacy /dev/psaux device"
+ bool "Provide legacy /dev/psaux device" if EMBEDDED
default y
depends on INPUT_MOUSEDEV
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index ddd4e0f4e1c0..d210fba2b127 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -2,7 +2,7 @@
# Input core configuration
#
config INPUT_KEYBOARD
- bool "Keyboards"
+ bool "Keyboards" if EMBEDDED || !X86
default y
depends on INPUT
help
@@ -12,7 +12,7 @@ config INPUT_KEYBOARD
If unsure, say Y.
config KEYBOARD_ATKBD
- tristate "AT keyboard support"
+ tristate "AT keyboard support" if EMBEDDED || !X86
default y
depends on INPUT && INPUT_KEYBOARD && SERIO
help