[PATCH v4 1/3] ARM: EXYNOS: Add missing static to file-scope declarations
Kukjin Kim
kgene at kernel.org
Tue Mar 17 10:33:53 PDT 2015
On 03/11/15 20:08, Krzysztof Kozlowski wrote:
> The 'pm_data', 'exynos_release_ret_regs', 'exynos3250_release_ret_regs'
> and 'exynos5420_release_ret_regs' are not exported nor used outside of
> suspend.c file. Make them static.
>
> This fixes following sparse warnings:
> arch/arm/mach-exynos/suspend.c:83:23: warning: symbol 'pm_data' was not declared. Should it be static?
> arch/arm/mach-exynos/suspend.c:106:14: warning: symbol 'exynos_release_ret_regs' was not declared. Should it be static?
> arch/arm/mach-exynos/suspend.c:117:14: warning: symbol 'exynos5420_release_ret_regs' was not declared. Should it be static?
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Reviewed-by: Pankaj Dubey <pankaj.dubey at samsung.com>
> ---
Applied this whole series.
Thanks,
Kukjin
More information about the linux-arm-kernel
mailing list