diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-09-18 11:30:42 +0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 15:19:32 -0700 |
commit | 4f806819270bb1170057cfe9ed5c466f3535be83 (patch) | |
tree | 29c403b4a8e933977c2c7c557fd3805f120c6853 /arch/arm/plat-omap | |
parent | 12aee6c69f245189dc015227d1c27240a832f58a (diff) | |
download | blackbird-obmc-linux-4f806819270bb1170057cfe9ed5c466f3535be83.tar.gz blackbird-obmc-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')
-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 config OMAP_DEBUG_LEDS def_bool y if NEW_LEDS + select LEDS_CLASS depends on OMAP_DEBUG_DEVICES config POWER_AVS_OMAP |