summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-09-15 10:18:51 -0700
committerTony Lindgren <tony@atomide.com>2010-09-15 10:18:51 -0700
commit359f64f7b3997e94ee71039b5fcdc1278b9b77c4 (patch)
tree5fdcf9cca9d690eb88924fc973a6b29d55526084 /arch
parent49553c2ef88749dd502687f4eb9c258bb10a4f44 (diff)
downloadlinux-359f64f7b3997e94ee71039b5fcdc1278b9b77c4.tar.gz
linux-359f64f7b3997e94ee71039b5fcdc1278b9b77c4.tar.bz2
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"