Messages in this thread Patch in this message | | | Date | Fri, 2 Nov 2007 16:44:37 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] 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>
--- 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |