diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-21 13:20:53 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-06-22 12:33:14 +0200 |
commit | d3221cc6358cf9178bf4178e29241ebaa4485318 (patch) | |
tree | d45f0a3679eb5003d415ee3f142c59e15b46fb38 /arch/arm/mach-exynos/exynos.c | |
parent | 2f3428b5cf9ba4255d8729fd249cbfb8a540d33e (diff) | |
download | linux-stable-d3221cc6358cf9178bf4178e29241ebaa4485318.tar.gz linux-stable-d3221cc6358cf9178bf4178e29241ebaa4485318.tar.bz2 linux-stable-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/mach-exynos/exynos.c')
-rw-r--r-- | arch/arm/mach-exynos/exynos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 52ccf247e079..bdaf81c46d74 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -25,6 +25,7 @@ #include <asm/mach/map.h> #include <mach/map.h> +#include <plat/cpu.h> #include "common.h" #include "mfc.h" |