summary refs log tree commit diff
path: root/drivers/input
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-12-16 12:28:46 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-16 15:23:37 -0800
commit770b6cb4d21fb3e3df2a7a51e186a3c14db1ec30 (patch)
tree823e7cff195a38cbd9b2122a994f18496704aef8 /drivers/input
parent3d59eebc5e137bd89c6351e4c70e90ba1d0dc234 (diff)
downloadlinux-770b6cb4d21fb3e3df2a7a51e186a3c14db1ec30.tar.gz
ARM: OMAP: Fix drivers to depend on omap for internal devices
These devices are not available on other architectures, so
let's limit them to omap.

If the driver subsystem maintainers want to build test
system wide changes without building for each target,
it's easy to carry a test patch that just strips out the
depends entries from Kconfig files.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 77629d33f03f..febead4bf8a5 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -544,6 +544,7 @@ config KEYBOARD_OMAP
 
 config KEYBOARD_OMAP4
 	tristate "TI OMAP4+ keypad support"
+	depends on ARCH_OMAP2PLUS
 	select INPUT_MATRIXKMAP
 	help
 	  Say Y here if you want to use the OMAP4+ keypad.