aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2015-07-02 13:56:43 -0400
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-08-28 08:06:12 -0400
commit259f5ba308ee46c616ced3d336d7ab8e06f5a6ce (patch)
tree32a3cc29744b8110a57df5b3af8b54ecc36378a5
parent4b90432dc1edca6cfc0bb338794beed46af3a472 (diff)
leds: leds-ns2: depends on MACH_ARMADA_370
The leds-ns2 driver is also used by the n090401 board (Seagate NAS 4-Bay), which is based on the Marvell Armada-370 SoC. Then this patch allows to select the leds-ns2 driver if MACH_ARMADA_370 is enabled. Additionally, this also updates the Kconfig help message. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
-rw-r--r--drivers/leds/Kconfig12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index cf0248b8dbb9..23408bd68fdc 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -455,12 +455,16 @@ config LEDS_MC13783
455config LEDS_NS2 455config LEDS_NS2
456 tristate "LED support for Network Space v2 GPIO LEDs" 456 tristate "LED support for Network Space v2 GPIO LEDs"
457 depends on LEDS_CLASS 457 depends on LEDS_CLASS
458 depends on MACH_KIRKWOOD 458 depends on MACH_KIRKWOOD || MACH_ARMADA_370
459 default y 459 default y
460 help 460 help
461 This option enable support for the dual-GPIO LED found on the 461 This option enables support for the dual-GPIO LEDs found on the
462 Network Space v2 board (and parents). This include Internet Space v2, 462 following LaCie/Seagate boards:
463 Network Space (Max) v2 and d2 Network v2 boards. 463
464 Network Space v2 (and parents: Max, Mini)
465 Internet Space v2
466 d2 Network v2
467 n090401 (Seagate NAS 4-Bay)
464 468
465config LEDS_NETXBIG 469config LEDS_NETXBIG
466 tristate "LED support for Big Network series LEDs" 470 tristate "LED support for Big Network series LEDs"