summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-09-18 05:30:42 +0200
committerTony Lindgren <tony@atomide.com>2012-10-09 00:19:32 +0200
commit4f806819270bb1170057cfe9ed5c466f3535be83 (patch)
tree29c403b4a8e933977c2c7c557fd3805f120c6853 /arch/arm/plat-omap/Kconfig
parentARM: OMAP: rx51: Fix a section mismatch warn (diff)
downloadlinux-4f806819270bb1170057cfe9ed5c466f3535be83.tar.xz
linux-4f806819270bb1170057cfe9ed5c466f3535be83.zip
ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS
This fixes below build error when CONFIG_LEDS_CLASS is not set. LD init/built-in.o arch/arm/plat-omap/built-in.o: In function `fpga_probe': arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' make: *** [vmlinux] Error 1 Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r--arch/arm/plat-omap/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index ca83a7659aef..c26278172caa 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -43,6 +43,7 @@ config OMAP_DEBUG_DEVICES
config OMAP_DEBUG_LEDS
def_bool y if NEW_LEDS
+ select LEDS_CLASS
depends on OMAP_DEBUG_DEVICES
config POWER_AVS_OMAP