Commit 770b6cb4 authored by Tony Lindgren's avatar Tony Lindgren Committed by Linus Torvalds

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: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3d59eebc
...@@ -6,6 +6,7 @@ menu "Bus devices" ...@@ -6,6 +6,7 @@ menu "Bus devices"
config OMAP_OCP2SCP config OMAP_OCP2SCP
tristate "OMAP OCP2SCP DRIVER" tristate "OMAP OCP2SCP DRIVER"
depends on ARCH_OMAP2PLUS
help help
Driver to enable ocp2scp module which transforms ocp interface Driver to enable ocp2scp module which transforms ocp interface
protocol to scp protocol. In OMAP4, USB PHY is connected via protocol to scp protocol. In OMAP4, USB PHY is connected via
......
...@@ -544,6 +544,7 @@ config KEYBOARD_OMAP ...@@ -544,6 +544,7 @@ config KEYBOARD_OMAP
config KEYBOARD_OMAP4 config KEYBOARD_OMAP4
tristate "TI OMAP4+ keypad support" tristate "TI OMAP4+ keypad support"
depends on ARCH_OMAP2PLUS
select INPUT_MATRIXKMAP select INPUT_MATRIXKMAP
help help
Say Y here if you want to use the OMAP4+ keypad. Say Y here if you want to use the OMAP4+ keypad.
......
...@@ -6,6 +6,7 @@ comment "USB Physical Layer drivers" ...@@ -6,6 +6,7 @@ comment "USB Physical Layer drivers"
config OMAP_USB2 config OMAP_USB2
tristate "OMAP USB2 PHY Driver" tristate "OMAP USB2 PHY Driver"
depends on ARCH_OMAP2PLUS
select USB_OTG_UTILS select USB_OTG_UTILS
help help
Enable this to support the transceiver that is part of SOC. This Enable this to support the transceiver that is part of SOC. This
......
config OMAP2_VRFB config OMAP2_VRFB
bool bool
if ARCH_OMAP2PLUS
source "drivers/video/omap2/dss/Kconfig" source "drivers/video/omap2/dss/Kconfig"
source "drivers/video/omap2/omapfb/Kconfig" source "drivers/video/omap2/omapfb/Kconfig"
source "drivers/video/omap2/displays/Kconfig" source "drivers/video/omap2/displays/Kconfig"
endif
...@@ -60,6 +60,7 @@ config W1_MASTER_GPIO ...@@ -60,6 +60,7 @@ config W1_MASTER_GPIO
config HDQ_MASTER_OMAP config HDQ_MASTER_OMAP
tristate "OMAP HDQ driver" tristate "OMAP HDQ driver"
depends on ARCH_OMAP
help help
Say Y here if you want support for the 1-wire or HDQ Interface Say Y here if you want support for the 1-wire or HDQ Interface
on an OMAP processor. on an OMAP processor.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment