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

leds: various: compile if COMPILE_TEST=y

These drivers can be compiled without modification when COMPILE_TEST=y:
cobalt-qube, cobalt-raq, netxbig, ns2 and s3c24xx

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>

authored by

Marek Behún and committed by
Pavel Machek
f1b0a43b de73f275

+5 -5
+5 -5
drivers/leds/Kconfig
··· 274 274 config LEDS_S3C24XX 275 275 tristate "LED Support for Samsung S3C24XX GPIO LEDs" 276 276 depends on LEDS_CLASS 277 - depends on ARCH_S3C24XX 277 + depends on ARCH_S3C24XX || COMPILE_TEST 278 278 help 279 279 This option enables support for LEDs connected to GPIO lines 280 280 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440. ··· 304 304 config LEDS_COBALT_QUBE 305 305 tristate "LED Support for the Cobalt Qube series front LED" 306 306 depends on LEDS_CLASS 307 - depends on MIPS_COBALT 307 + depends on MIPS_COBALT || COMPILE_TEST 308 308 help 309 309 This option enables support for the front LED on Cobalt Qube series 310 310 311 311 config LEDS_COBALT_RAQ 312 312 bool "LED Support for the Cobalt Raq series" 313 - depends on LEDS_CLASS=y && MIPS_COBALT 313 + depends on LEDS_CLASS=y && (MIPS_COBALT || COMPILE_TEST) 314 314 select LEDS_TRIGGERS 315 315 help 316 316 This option enables support for the Cobalt Raq series LEDs. ··· 644 644 config LEDS_NS2 645 645 tristate "LED support for Network Space v2 GPIO LEDs" 646 646 depends on LEDS_CLASS 647 - depends on MACH_KIRKWOOD || MACH_ARMADA_370 647 + depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST 648 648 default y 649 649 help 650 650 This option enables support for the dual-GPIO LEDs found on the ··· 658 658 config LEDS_NETXBIG 659 659 tristate "LED support for Big Network series LEDs" 660 660 depends on LEDS_CLASS 661 - depends on MACH_KIRKWOOD 661 + depends on MACH_KIRKWOOD || COMPILE_TEST 662 662 depends on OF_GPIO 663 663 default y 664 664 help