summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ip30.c
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-09-18 00:32:50 +0200
committerPavel Machek <pavel@ucw.cz>2020-09-26 21:56:38 +0200
commit2aebb78040e741949ac71f1203f003351061b93b (patch)
treeb6e2ffd0c9a185bb409dda7564d7b8870b4368f9 /drivers/leds/leds-ip30.c
parentf1b0a43bba3d1ed3fcd13478f8cce24c1275ba92 (diff)
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>
Diffstat (limited to 'drivers/leds/leds-ip30.c')
-rw-r--r--drivers/leds/leds-ip30.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-ip30.c b/drivers/leds/leds-ip30.c
index d4ec7361c616..1f952bad0fe8 100644
--- a/drivers/leds/leds-ip30.c
+++ b/drivers/leds/leds-ip30.c
@@ -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>