MIPS: loongson: common: init: Add a missing include
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 19 Nov 2014 21:52:50 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:35 +0000 (07:45 +0100)
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@iki.fi>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8531/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/init.c

index f6af3aba4c86a5501ee5fad615f04d6e67d8bcbc..9b987fe98b5b004d6bb4fe635a081c14fcd21f4d 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <linux/bootmem.h>
+#include <asm/bootinfo.h>
 #include <asm/smp-ops.h>
 
 #include <loongson.h>