summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Lindgren2010-09-15 19:18:51 +0200
committerTony Lindgren2010-09-15 19:18:51 +0200
commit359f64f7b3997e94ee71039b5fcdc1278b9b77c4 (patch)
tree5fdcf9cca9d690eb88924fc973a6b29d55526084 /arch
parentLinux 2.6.36-rc4 (diff)
downloadkernel-qcow2-linux-359f64f7b3997e94ee71039b5fcdc1278b9b77c4.tar.gz
kernel-qcow2-linux-359f64f7b3997e94ee71039b5fcdc1278b9b77c4.tar.xz
kernel-qcow2-linux-359f64f7b3997e94ee71039b5fcdc1278b9b77c4.zip
omap: Fix compile dependency to LEDS_CLASS
If we LEDS_CLASS is not selected, we will get undefined reference to `led_classdev_register'. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-omap/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index e39a417a368d..a92cb499313f 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -33,7 +33,7 @@ config OMAP_DEBUG_DEVICES
config OMAP_DEBUG_LEDS
bool
depends on OMAP_DEBUG_DEVICES
- default y if LEDS
+ default y if LEDS_CLASS
config OMAP_RESET_CLOCKS
bool "Reset unused clocks during boot"