All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS
@ 2012-09-18  3:30 ` Axel Lin
  0 siblings, 0 replies; 10+ messages in thread
From: Axel Lin @ 2012-09-18  3:30 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Bryan Wu, linux-omap, linux-arm-kernel, linux-kernel

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>
---
 arch/arm/plat-omap/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index ca83a76..c262781 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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-10-08 21:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18  3:30 [PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS Axel Lin
2012-09-18  3:30 ` Axel Lin
2012-09-18  6:34 ` Bryan Wu
2012-09-18  6:34   ` Bryan Wu
2012-09-18  6:49   ` Axel Lin
2012-09-18  6:49     ` Axel Lin
2012-09-18  8:02     ` Bryan Wu
2012-09-18  8:02       ` Bryan Wu
2012-10-08 21:14       ` Tony Lindgren
2012-10-08 21:14         ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.