summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-09-29 11:00:14 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 18:18:13 +0200
commitaf410fc13d95f079910fc3dca7496590c3275967 (patch)
treee1c1112e4347f9e32bc3b08ac0c22ea3237b22ec /include
parent[PATCH] Remove another config.h (diff)
downloadlinux-af410fc13d95f079910fc3dca7496590c3275967.tar.xz
linux-af410fc13d95f079910fc3dca7496590c3275967.zip
[PATCH] make leds.h include relevant headers
Make it possible to include linux/leds.h without first including list.h and spinlock.h. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/leds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index dc23c7c639f3..88afceffb7cb 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -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;
/*