提交 2aebb780 编写于 作者: M Marek Behún 提交者: Pavel Machek

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: NMarek 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: NPavel Machek <pavel@ucw.cz>
上级 f1b0a43b
......@@ -905,7 +905,7 @@ config LEDS_TPS6105X
config LEDS_IP30
tristate "LED support for SGI Octane machines"
depends on LEDS_CLASS
depends on SGI_MFD_IOC3
depends on SGI_MFD_IOC3 || COMPILE_TEST
help
This option enables support for the Red and White LEDs of
SGI Octane machines.
......
......@@ -3,6 +3,7 @@
* LED Driver for SGI Octane machines
*/
#include <asm/io.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册