summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorBen Dooks2016-06-21 14:20:53 +0200
committerKrzysztof Kozlowski2016-06-22 12:33:14 +0200
commitd3221cc6358cf9178bf4178e29241ebaa4485318 (patch)
treed45f0a3679eb5003d415ee3f142c59e15b46fb38 /arch/arm/plat-samsung
parentARM: EXYNOS: Fix UART address selection for DEBUG_LL (diff)
downloadkernel-qcow2-linux-d3221cc6358cf9178bf4178e29241ebaa4485318.tar.gz
kernel-qcow2-linux-d3221cc6358cf9178bf4178e29241ebaa4485318.tar.xz
kernel-qcow2-linux-d3221cc6358cf9178bf4178e29241ebaa4485318.zip
ARM: SAMSUNG: Fix missing s5p_init_cpu() declaration
The declaration of s5p_init_cpu() in arch/arm/mach-exynos/common.h is not included in the platform file arch/arm/plat-samsung/cpu.c which generates a warning. Fix the following warning by moving the declaration to somewhere both the machine and platform code can get to it, and including the right files as necessary: arch/arm/plat-samsung/cpu.c:47:13: warning: symbol 's5p_init_cpu' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/include/plat/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h
index 61d14f3a0426..4f8a6221dc6d 100644
--- a/arch/arm/plat-samsung/include/plat/cpu.h
+++ b/arch/arm/plat-samsung/include/plat/cpu.h
@@ -113,6 +113,7 @@ extern void s3c_init_cpu(unsigned long idcode,
extern void s3c24xx_init_io(struct map_desc *mach_desc, int size);
extern void s3c64xx_init_cpu(void);
+extern void s5p_init_cpu(void __iomem *cpuid_addr);
extern unsigned int samsung_rev(void);