Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ben Dooks and committed by
Russell King
2374b063 c6bbfbb7

+1
+1
arch/arm/kernel/devtree.c
··· 23 23 #include <asm/cputype.h> 24 24 #include <asm/setup.h> 25 25 #include <asm/page.h> 26 + #include <asm/prom.h> 26 27 #include <asm/smp_plat.h> 27 28 #include <asm/mach/arch.h> 28 29 #include <asm/mach-types.h>