]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0627c60562015078f6eb035985468cc886220901
treed45f0a3679eb5003d415ee3f142c59e15b46fb38
parent46bfa567a33b4f338ef19bf9e26ef746da20d11f
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