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

leds: ip30: compile if COMPILE_TEST=y

This driver can be compiled on other platforms with small change if
COMPILE_TEST=y.

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

authored by

Marek Behún and committed by
Pavel Machek
2aebb780 f1b0a43b

+2 -1
+1 -1
drivers/leds/Kconfig
··· 905 905 config LEDS_IP30 906 906 tristate "LED support for SGI Octane machines" 907 907 depends on LEDS_CLASS 908 - depends on SGI_MFD_IOC3 908 + depends on SGI_MFD_IOC3 || COMPILE_TEST 909 909 help 910 910 This option enables support for the Red and White LEDs of 911 911 SGI Octane machines.
+1
drivers/leds/leds-ip30.c
··· 3 3 * LED Driver for SGI Octane machines 4 4 */ 5 5 6 + #include <asm/io.h> 6 7 #include <linux/module.h> 7 8 #include <linux/kernel.h> 8 9 #include <linux/platform_device.h>