ARM: SAMSUNG: Fix missing s5p_init_cpu() declaration
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 21 Jun 2016 12:20:53 +0000 (13:20 +0100)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 22 Jun 2016 10:33:14 +0000 (12:33 +0200)
commitd3221cc6358cf9178bf4178e29241ebaa4485318
treed45f0a3679eb5003d415ee3f142c59e15b46fb38
parent2f3428b5cf9ba4255d8729fd249cbfb8a540d33e
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>
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/exynos.c
arch/arm/plat-samsung/include/plat/cpu.h