Skip to contentSkip to conversation

kernel/notifier.c should #include <linux/reboot.h>

PATCH New Adrian Bunk 1 participant 1 message Nov 2, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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()).

---
f204a842031e86e45e97c26e955565b5994f7c7c

kernel/notifier.c +1 -0
index 4253f47..643360d 100644
@@ -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