summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-09-29 02:00:14 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:13 -0700
commitaf410fc13d95f079910fc3dca7496590c3275967 (patch)
treee1c1112e4347f9e32bc3b08ac0c22ea3237b22ec
parent3ca212b813299899d2968aa0a24a797c3746f5ec (diff)
downloadop-kernel-dev-af410fc13d95f079910fc3dca7496590c3275967.zip
op-kernel-dev-af410fc13d95f079910fc3dca7496590c3275967.tar.gz
[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>
-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 dc23c7c..88afcef 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;
/*
OpenPOWER on IntegriCloud