Add a missing include to eliminate the following sparse warnings: warning: symbol 'prom_init' was not declared. Should it be static? warning: symbol 'prom_free_prom_memory' was not declared. Should it be static? Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx> --- arch/mips/loongson/common/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/loongson/common/init.c b/arch/mips/loongson/common/init.c index f6af3ab..9b987fe 100644 --- a/arch/mips/loongson/common/init.c +++ b/arch/mips/loongson/common/init.c @@ -9,6 +9,7 @@ */ #include <linux/bootmem.h> +#include <asm/bootinfo.h> #include <asm/smp-ops.h> #include <loongson.h> -- 2.1.2