OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca212b
)
[PATCH] make leds.h include relevant headers
author
Johannes Berg
<johannes@sipsolutions.net>
Fri, 29 Sep 2006 09:00:14 +0000
(
02:00
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
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 <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>
include/linux/leds.h
patch
|
blob
|
history
diff --git
a/include/linux/leds.h
b/include/linux/leds.h
index
dc23c7c
..
88afcef
100644
(file)
--- 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;
/*