From 77662396dcba0a0b4db56a6e92d10502474b93c5 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 28 Jul 2005 03:35:03 -0700 Subject: [PATCH] [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 --- drivers/i2c/busses/Kconfig | 2 +- drivers/input/touchscreen/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.41.1