kernel/notifier.c should #include <linux/reboot.h>
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()).
Signed-off-by Adrian Bunk <[email protected]>
---f204a842031e86e45e97c26e955565b5994f7c7c
kernel/notifier.c +1 -0
@@ -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