[PATCH 2/7] led: add missing includes

Alexander Aring alex.aring at gmail.com
Sat Dec 19 10:33:59 PST 2015


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 at gmail.com>
---
 include/led.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/led.h b/include/led.h
index ddf8d90..000267c 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);
-- 
2.6.1




More information about the barebox mailing list