From 683fd3bad6928c1d32cf677a40b9b573e6f66858 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Fri, 26 May 2006 16:16:20 -0700 Subject: [PATCH] [PATCH] ARM: OMAP: OMAP_GPIO_SWITCH doesn't need OMAP_BOOT_TAG I can't see any reason why OMAP_GPIO_SWITCH depends on OMAP_BOOT_TAG; it compiles fine without it. This patch removes the Kconfig dependency. Here's an updated patch that not only removes the dependency but cleans up the Kconfig description to talk about sysfs rather than the input layer. Signed-off-by: Jonathan McDowell Acked-by: Paul Mundt Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index 28ca5ad4376..cc8c793b0d7 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -57,13 +57,12 @@ config OMAP_COMPONENT_VERSION config OMAP_GPIO_SWITCH bool "GPIO switch support" - depends on OMAP_BOOT_TAG default n help - Say Y, if you want to have support for input layer reporting - of GPIO switches (e.g. cover switches). Your bootloader has to - provide information about the switches to the kernel via the - ATAG_BOARD mechanism. + Say Y, if you want to have support for reporting of GPIO + switches (e.g. cover switches) via sysfs. Your bootloader has + to provide information about the switches to the kernel via the + ATAG_BOARD mechanism if they're not defined by the board config. config OMAP_MUX bool "OMAP multiplexing support" -- 2.41.1