Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Simon Guinot and committed by
Jacek Anaszewski
259f5ba3 4b90432d

+8 -4
+8 -4
drivers/leds/Kconfig
··· 455 455 config LEDS_NS2 456 456 tristate "LED support for Network Space v2 GPIO LEDs" 457 457 depends on LEDS_CLASS 458 - depends on MACH_KIRKWOOD 458 + depends on MACH_KIRKWOOD || MACH_ARMADA_370 459 459 default y 460 460 help 461 - This option enable support for the dual-GPIO LED found on the 462 - Network Space v2 board (and parents). This include Internet Space v2, 463 - Network Space (Max) v2 and d2 Network v2 boards. 461 + This option enables support for the dual-GPIO LEDs found on the 462 + following LaCie/Seagate 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 465 469 config LEDS_NETXBIG 466 470 tristate "LED support for Big Network series LEDs"