diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-26 19:01:14 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-06-21 00:42:28 +0400 |
commit | adb1d99384c7480886153a97d2ea22e9c0d2e053 (patch) | |
tree | 04f4b504b459b380ac5cd3e698452282c79e3092 /arch | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-adb1d99384c7480886153a97d2ea22e9c0d2e053.tar.xz |
ARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static
The armada_370_xp_pmsu_idle_prepare() function is only used internally
to pmsu.c, so there's no reason to not use the static qualifier.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1401116474-31221-1-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mvebu/pmsu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c index 53a55c8520bf..6e83d32071b1 100644 --- a/arch/arm/mach-mvebu/pmsu.c +++ b/arch/arm/mach-mvebu/pmsu.c @@ -148,7 +148,7 @@ static void armada_370_xp_cpu_resume(void) } /* No locking is needed because we only access per-CPU registers */ -void armada_370_xp_pmsu_idle_prepare(bool deepidle) +static void armada_370_xp_pmsu_idle_prepare(bool deepidle) { unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); u32 reg; |