[PATCH] make leds.h include relevant headers
authorJohannes Berg <[email protected]>
Fri, 29 Sep 2006 09:00:14 +0000 (02:00 -0700)
committerLinus Torvalds <[email protected]>
Fri, 29 Sep 2006 16:18:13 +0000 (09:18 -0700)
Make it possible to include linux/leds.h without first including list.h and
spinlock.h.

Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/leds.h

index dc23c7c639f321f9bbb857d2176130c3316c4489..88afceffb7cb45df03ecbcd1045af2117f429fb1 100644 (file)
@@ -12,6 +12,9 @@
 #ifndef __LINUX_LEDS_H_INCLUDED
 #define __LINUX_LEDS_H_INCLUDED
 
+#include <linux/list.h>
+#include <linux/spinlock.h>
+
 struct device;
 struct class_device;
 /*