Commit c166f23cb56a76983ce860739d95c8296e57d6b3

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent bb695170d8

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 <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -4,6 +4,7 @@
4 4 #include <linux/notifier.h>
5 5 #include <linux/rcupdate.h>
6 6 #include <linux/vmalloc.h>
  7 +#include <linux/reboot.h>
7 8  
8 9 /*
9 10 * Notifier list for kernel code which wants to be called