mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] kernel/notifier.c should #include <linux/reboot.h>
@ 2007-11-02 15:44 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-02 15:44 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: linux-kernel

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>

---
f204a842031e86e45e97c26e955565b5994f7c7c 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-02 15:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-02 15:44 [2.6 patch] kernel/notifier.c should #include <linux/reboot.h> Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®