]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: Fixup Kconfig options that don't depend on at least ARCH_OMAP
authorTom Rini <trini@kernel.crashing.org>
Thu, 28 Jul 2005 10:35:03 +0000 (03:35 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 28 Jul 2005 10:35:03 +0000 (03:35 -0700)
I just did a quick audit of the Kconfig files that mention
OMAP and have options that don't depend on at least ARCH_OMAP.  Happily
we're down to just two, neither of which are in kernel.org yet.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/Kconfig
drivers/input/touchscreen/Kconfig

index 2506f494321ef02288b946867093f7b4d5b6684e..5748b594f501ce76b2fd95357660b480a092d4db 100644 (file)
@@ -499,7 +499,7 @@ config I2C_MV64XXX
 
 config I2C_OMAP
        tristate "OMAP I2C adapter"
-       depends on I2C
+       depends on I2C && ARCH_OMAP
        default y if MACH_OMAP_H3 || MACH_OMAP_OSK
        help
          Support for TI OMAP I2C driver. Say yes if you want to use the OMAP
index 9329982b14ae192eef83e2f2b1b926f943b69660..9c88997a4ab75ecd13998b93c1cfb1117c0d4952 100644 (file)
@@ -98,7 +98,7 @@ config TOUCHSCREEN_HP600
 endif
 config TOUCHSCREEN_OMAP
        tristate "OMAP touchscreen input driver"
-       depends on INPUT && INPUT_TOUCHSCREEN
+       depends on INPUT && INPUT_TOUCHSCREEN && ARCH_OMAP
        help
          Say Y here if you have an OMAP based board with touchscreen
          attached to it, e.g. OMAP Innovator, OSK, H2 or H3