summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2016-06-17 18:21:07 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-06-22 19:55:12 +0100
commit2374b063c3dfbb68a40b52067eaff81510f384b1 (patch)
treefd1d1e0260a873f12daefa98d18f4eb82d769150
parentc6bbfbb729e88188b7c9113d58647766db03f1d4 (diff)
downloadlinux-2374b063c3dfbb68a40b52067eaff81510f384b1.tar.gz
linux-2374b063c3dfbb68a40b52067eaff81510f384b1.tar.bz2
linux-2374b063c3dfbb68a40b52067eaff81510f384b1.zip
ARM: 8581/1: add missing <asm/prom.h> to arch/arm/kernel/devtree.c
Fix the following warnings by including declarations from <asm/prom.h>: arch/arm/kernel/devtree.c:69:13: warning: symbol 'arm_dt_init_cpu_maps' was not declared. Should it be static? arch/arm/kernel/devtree.c:210:27: warning: symbol 'setup_machine_fdt' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/devtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c
index f8966bb25f9d..40ecd5f514a2 100644
--- a/arch/arm/kernel/devtree.c
+++ b/arch/arm/kernel/devtree.c
@@ -23,6 +23,7 @@
#include <asm/cputype.h>
#include <asm/setup.h>
#include <asm/page.h>
+#include <asm/prom.h>
#include <asm/smp_plat.h>
#include <asm/mach/arch.h>
#include <asm/mach-types.h>