Commit 6b1cc946 authored by Zhengyi Shen's avatar Zhengyi Shen Committed by Thomas Gleixner

x86/boot: Include missing header file

Sparse complains about missing forward declarations:

arch/x86/boot/compressed/error.c:8:6:
	warning: symbol 'warn' was not declared. Should it be static?
arch/x86/boot/compressed/error.c:15:6:
	warning: symbol 'error' was not declared. Should it be static?

Include the missing header file.
Signed-off-by: default avatarZhengyi Shen <shenzhengyi@gmail.com>
Acked-by: default avatarKess Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/1490770820-24472-1-git-send-email-shenzhengyi@gmail.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 29f72ce3
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* memcpy() and memmove() are defined for the compressed boot environment. * memcpy() and memmove() are defined for the compressed boot environment.
*/ */
#include "misc.h" #include "misc.h"
#include "error.h"
void warn(char *m) void warn(char *m)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment