aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-06 08:58:22 -0400
committerOlof Johansson <olof@lixom.net>2014-05-10 23:11:49 -0400
commita501fd37f77a703a8710af8f6964e0ae269df973 (patch)
tree91d24245fdc4a2f52dd96b95fadf95fbd2df7abb
parent8df3211971d527934cbf7a0c77d3efab170b24bc (diff)
leds: Fix build for LEDS_CLASS=m on versatile
I got a build error today, since LEDS_VERSATILE can be built-in while LEDS_CLASS is a module: drivers/built-in.o: In function `versatile_leds_probe': :(.text+0x155020): undefined reference to `led_classdev_register' I suggest we turn this option into 'tristate' so that the dependency tracking works correctly. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--drivers/leds/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 9adc79406ff3..39e717797cc0 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -488,7 +488,7 @@ config LEDS_BLINKM
488 through I2C. Say Y to enable support for the BlinkM LED. 488 through I2C. Say Y to enable support for the BlinkM LED.
489 489
490config LEDS_VERSATILE 490config LEDS_VERSATILE
491 bool "LED support for the ARM Versatile and RealView" 491 tristate "LED support for the ARM Versatile and RealView"
492 depends on ARCH_REALVIEW || ARCH_VERSATILE 492 depends on ARCH_REALVIEW || ARCH_VERSATILE
493 depends on LEDS_CLASS 493 depends on LEDS_CLASS
494 help 494 help