aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-09-17 23:30:42 -0400
committerTony Lindgren <tony@atomide.com>2012-10-08 18:19:32 -0400
commit4f806819270bb1170057cfe9ed5c466f3535be83 (patch)
tree29c403b4a8e933977c2c7c557fd3805f120c6853 /arch/arm/plat-omap
parent12aee6c69f245189dc015227d1c27240a832f58a (diff)
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')
-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 ca83a7659ae..c26278172ca 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -43,6 +43,7 @@ config OMAP_DEBUG_DEVICES
43 43
44config OMAP_DEBUG_LEDS 44config OMAP_DEBUG_LEDS
45 def_bool y if NEW_LEDS 45 def_bool y if NEW_LEDS
46 select LEDS_CLASS
46 depends on OMAP_DEBUG_DEVICES 47 depends on OMAP_DEBUG_DEVICES
47 48
48config POWER_AVS_OMAP 49config POWER_AVS_OMAP