]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: OMAP_GPIO_SWITCH doesn't need OMAP_BOOT_TAG
authorJonathan McDowell <noodles@earth.li>
Fri, 26 May 2006 23:16:20 +0000 (16:16 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 26 May 2006 23:16:20 +0000 (16:16 -0700)
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 <noodles@earth.li>
Acked-by: Paul Mundt <paul.mundt@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/Kconfig

index 28ca5ad4376efbe18e7b074389d29af4731dd58f..cc8c793b0d77271b716e1801360956067a5c0299 100644 (file)
@@ -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"