projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb69517
)
kernel/notifier.c should #include <linux/reboot.h>
author
Adrian Bunk
<bunk@kernel.org>
Wed, 6 Feb 2008 09:36:46 +0000
(
01:36
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:02 +0000
(10:41 -0800)
Every file should include the headers containing the prototypes for its global
functions (in this case {,un}register_reboot_notifier()).
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/notifier.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/notifier.c
b/kernel/notifier.c
index 4253f472f0606cc419eacf952cc9b801a0441ef9..643360d1bb144fda223301b348059cd5381eb35e 100644
(file)
--- a/
kernel/notifier.c
+++ b/
kernel/notifier.c
@@
-4,6
+4,7
@@
#include <linux/notifier.h>
#include <linux/rcupdate.h>
#include <linux/vmalloc.h>
+#include <linux/reboot.h>
/*
* Notifier list for kernel code which wants to be called