From: Tom Rini Date: Thu, 28 Jul 2005 10:35:03 +0000 (-0700) Subject: [PATCH] ARM: OMAP: Fixup Kconfig options that don't depend on at least ARCH_OMAP X-Git-Tag: v2.6.13-omap1~37 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=77662396dcba0a0b4db56a6e92d10502474b93c5;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: Fixup Kconfig options that don't depend on at least ARCH_OMAP 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 Signed-off-by: Tony Lindgren --- diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 2506f494321..5748b594f50 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -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 diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 9329982b14a..9c88997a4ab 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -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