Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c166f23cb56a76983ce860739d95c8296e57d6b3
Commit:     c166f23cb56a76983ce860739d95c8296e57d6b3
Parent:     bb695170d8dff3f22682b6c19df64dc093f58c0a
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 01:36:46 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:41:02 2008 -0800

    kernel/notifier.c should #include <linux/reboot.h>
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/notifier.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/notifier.c b/kernel/notifier.c
index 4253f47..643360d 100644
--- 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to