projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/include/linux/leds.h
b/include/linux/leds.h
index dc23c7c639f321f9bbb857d2176130c3316c4489..88afceffb7cb45df03ecbcd1045af2117f429fb1 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;
/*