diff options
author | Tony Lindgren <tony@atomide.com> | 2012-12-16 15:28:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-16 18:23:37 -0500 |
commit | 770b6cb4d21fb3e3df2a7a51e186a3c14db1ec30 (patch) | |
tree | 823e7cff195a38cbd9b2122a994f18496704aef8 /drivers | |
parent | 3d59eebc5e137bd89c6351e4c70e90ba1d0dc234 (diff) |
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')
-rw-r--r-- | drivers/bus/Kconfig | 1 | ||||
-rw-r--r-- | drivers/input/keyboard/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/phy/Kconfig | 1 | ||||
-rw-r--r-- | drivers/video/omap2/Kconfig | 4 | ||||
-rw-r--r-- | drivers/w1/masters/Kconfig | 1 |
5 files changed, 8 insertions, 0 deletions
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index bbec35d21fe5..0f51ed687dc8 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig | |||
@@ -6,6 +6,7 @@ menu "Bus devices" | |||
6 | 6 | ||
7 | config OMAP_OCP2SCP | 7 | config OMAP_OCP2SCP |
8 | tristate "OMAP OCP2SCP DRIVER" | 8 | tristate "OMAP OCP2SCP DRIVER" |
9 | depends on ARCH_OMAP2PLUS | ||
9 | help | 10 | help |
10 | Driver to enable ocp2scp module which transforms ocp interface | 11 | Driver to enable ocp2scp module which transforms ocp interface |
11 | protocol to scp protocol. In OMAP4, USB PHY is connected via | 12 | protocol to scp protocol. In OMAP4, USB PHY is connected via |
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 | |||
544 | 544 | ||
545 | config KEYBOARD_OMAP4 | 545 | config KEYBOARD_OMAP4 |
546 | tristate "TI OMAP4+ keypad support" | 546 | tristate "TI OMAP4+ keypad support" |
547 | depends on ARCH_OMAP2PLUS | ||
547 | select INPUT_MATRIXKMAP | 548 | select INPUT_MATRIXKMAP |
548 | help | 549 | help |
549 | Say Y here if you want to use the OMAP4+ keypad. | 550 | Say Y here if you want to use the OMAP4+ keypad. |
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 7eb73c561bd2..5de6e7f39f9c 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig | |||
@@ -6,6 +6,7 @@ comment "USB Physical Layer drivers" | |||
6 | 6 | ||
7 | config OMAP_USB2 | 7 | config OMAP_USB2 |
8 | tristate "OMAP USB2 PHY Driver" | 8 | tristate "OMAP USB2 PHY Driver" |
9 | depends on ARCH_OMAP2PLUS | ||
9 | select USB_OTG_UTILS | 10 | select USB_OTG_UTILS |
10 | help | 11 | help |
11 | Enable this to support the transceiver that is part of SOC. This | 12 | Enable this to support the transceiver that is part of SOC. This |
diff --git a/drivers/video/omap2/Kconfig b/drivers/video/omap2/Kconfig index 346d67d6cf4d..b07b2b042e7e 100644 --- a/drivers/video/omap2/Kconfig +++ b/drivers/video/omap2/Kconfig | |||
@@ -1,6 +1,10 @@ | |||
1 | config OMAP2_VRFB | 1 | config OMAP2_VRFB |
2 | bool | 2 | bool |
3 | 3 | ||
4 | if ARCH_OMAP2PLUS | ||
5 | |||
4 | source "drivers/video/omap2/dss/Kconfig" | 6 | source "drivers/video/omap2/dss/Kconfig" |
5 | source "drivers/video/omap2/omapfb/Kconfig" | 7 | source "drivers/video/omap2/omapfb/Kconfig" |
6 | source "drivers/video/omap2/displays/Kconfig" | 8 | source "drivers/video/omap2/displays/Kconfig" |
9 | |||
10 | endif | ||
diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig index c433a746e3f5..e8ca63a82b97 100644 --- a/drivers/w1/masters/Kconfig +++ b/drivers/w1/masters/Kconfig | |||
@@ -60,6 +60,7 @@ config W1_MASTER_GPIO | |||
60 | 60 | ||
61 | config HDQ_MASTER_OMAP | 61 | config HDQ_MASTER_OMAP |
62 | tristate "OMAP HDQ driver" | 62 | tristate "OMAP HDQ driver" |
63 | depends on ARCH_OMAP | ||
63 | help | 64 | help |
64 | Say Y here if you want support for the 1-wire or HDQ Interface | 65 | Say Y here if you want support for the 1-wire or HDQ Interface |
65 | on an OMAP processor. | 66 | on an OMAP processor. |