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>
This commit is contained in:
parent
8430b90330
commit
7e613c84cf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue