]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
leds: leds-ns2: depends on MACH_ARMADA_370
authorSimon Guinot <simon.guinot@sequanux.org>
Thu, 2 Jul 2015 17:56:43 +0000 (19:56 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 28 Aug 2015 12:06:12 +0000 (14:06 +0200)
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>
drivers/leds/Kconfig

index cf0248b8dbb9c0231bdd1a69335ef609aee1c75d..23408bd68fdc0c8b18f4e140bc367c2a07e53619 100644 (file)
@@ -455,12 +455,16 @@ config LEDS_MC13783
 config LEDS_NS2
        tristate "LED support for Network Space v2 GPIO LEDs"
        depends on LEDS_CLASS
-       depends on MACH_KIRKWOOD
+       depends on MACH_KIRKWOOD || MACH_ARMADA_370
        default y
        help
-         This option enable support for the dual-GPIO LED found on the
-         Network Space v2 board (and parents). This include Internet Space v2,
-         Network Space (Max) v2 and d2 Network v2 boards.
+         This option enables support for the dual-GPIO LEDs found on the
+         following LaCie/Seagate boards:
+
+               Network Space v2 (and parents: Max, Mini)
+               Internet Space v2
+               d2 Network v2
+               n090401 (Seagate NAS 4-Bay)
 
 config LEDS_NETXBIG
        tristate "LED support for Big Network series LEDs"