i386: include asm/bugs.h in bugs.c for check_bugs prototype
PATCH 1/1 i386: include asm/bugs.h in bugs.c for check_bugs prototype
C files should include the header files that prototype their functions.
Eliminates a sparse warning:
warning: symbol 'check_bugs' was not declared. Should it be static?
Signed-off-by Josh Triplett <[email protected]>
--- arch/i386/kernel/cpu/bugs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/i386/kernel/cpu/bugs.c +1 -0
@@ -11,6 +11,7 @@*/ #include <linux/init.h> #include <linux/utsname.h> +#include <asm/bugs.h> #include <asm/processor.h> #include <asm/i387.h> #include <asm/msr.h>
Signature · 1 line
1.5.2.1