diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-09-17 23:30:42 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 18:19:32 -0400 |
commit | 4f806819270bb1170057cfe9ed5c466f3535be83 (patch) | |
tree | 29c403b4a8e933977c2c7c557fd3805f120c6853 /arch | |
parent | 12aee6c69f245189dc015227d1c27240a832f58a (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')
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 1 |
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 | |||
43 | 43 | ||
44 | config OMAP_DEBUG_LEDS | 44 | config 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 | ||
48 | config POWER_AVS_OMAP | 49 | config POWER_AVS_OMAP |