From: Jonathan McDowell Date: Fri, 26 May 2006 23:16:20 +0000 (-0700) Subject: [PATCH] ARM: OMAP: OMAP_GPIO_SWITCH doesn't need OMAP_BOOT_TAG X-Git-Tag: v2.6.17-omap1~47 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=683fd3bad6928c1d32cf677a40b9b573e6f66858;p=linux-2.6-omap-h63xx.git [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 --- 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"