2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-18 15:44:02 +08:00

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>
This commit is contained in:
Adrian Bunk 2008-02-06 01:36:46 -08:00 committed by Linus Torvalds
parent bb695170d8
commit c166f23cb5

View File

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