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>
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"