summaryrefslogtreecommitdiff
path: root/include/led.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-12-19 19:33:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-07 12:35:25 +0100
commit7e613c84cf01349f572e7a6a5e3b8f6633822ff7 (patch)
tree668b559539acc285301454587b6cf303182ed01b /include/led.h
parent8430b903308e2907845a67e182fbd4d3e44ed3fa (diff)
downloadbarebox-7e613c84cf01349f572e7a6a5e3b8f6633822ff7.tar.gz
led: add missing includes
The led header use some parts which are missing when include the this header. This patch adds them. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/led.h')
-rw-r--r--include/led.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/led.h b/include/led.h
index ddf8d90084..000267cdc5 100644
--- a/include/led.h
+++ b/include/led.h
@@ -1,7 +1,10 @@
#ifndef __LED_H
#define __LED_H
+#include <linux/list.h>
+
#include <errno.h>
+#include <of.h>
struct led {
void (*set)(struct led *, unsigned int value);