projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7171511
)
ARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static
author
Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
Mon, 26 May 2014 15:01:14 +0000
(17:01 +0200)
committer
Jason Cooper
<jason@lakedaemon.net>
Fri, 20 Jun 2014 20:42:28 +0000
(20:42 +0000)
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>
arch/arm/mach-mvebu/pmsu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mvebu/pmsu.c
b/arch/arm/mach-mvebu/pmsu.c
index 53a55c8520bf9a1fbab97919457af791f202ca2d..6e83d32071b183dee68fbb8861ecea538d0a40f7 100644
(file)
--- 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;