Skip to content

Commit

Permalink
omap: Fix compile dependency to LEDS_CLASS
Browse files Browse the repository at this point in the history
If we LEDS_CLASS is not selected, we will get undefined reference
to `led_classdev_register'.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Sep 15, 2010
1 parent 49553c2 commit 359f64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 359f64f

Please sign in to comment.