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>
This commit is contained in:
Tony Lindgren
2012-12-16 12:28:46 -08:00
committed by Linus Torvalds
parent 3d59eebc5e
commit 770b6cb4d2
5 changed files with 8 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
config OMAP2_VRFB
bool
if ARCH_OMAP2PLUS
source "drivers/video/omap2/dss/Kconfig"
source "drivers/video/omap2/omapfb/Kconfig"
source "drivers/video/omap2/displays/Kconfig"
endif