projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe6c3d
)
sparc: fix sparse warning in kernel/pmc.c
author
Sam Ravnborg
<sam@ravnborg.org>
Mon, 8 Dec 2008 09:02:23 +0000
(
01:02
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Dec 2008 09:02:23 +0000
(
01:02
-0800)
Fix following warning:
arch/sparc/kernel/pmc.c:41:6: warning: symbol 'pmc_swift_idle'
was not declared. Should it be static?
It was not used outside this file - make it static
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pmc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/pmc.c
b/arch/sparc/kernel/pmc.c
index 2afcfab4f11cc011585ddc9901b64da953ed9b87..33cd4998eb0494910b021827ee4be11b1efb15a2 100644
(file)
--- a/
arch/sparc/kernel/pmc.c
+++ b/
arch/sparc/kernel/pmc.c
@@
-38,7
+38,7
@@
static u8 __iomem *regs;
* CPU idle callback function
* See .../arch/sparc/kernel/process.c
*/
-void pmc_swift_idle(void)
+
static
void pmc_swift_idle(void)
{
#ifdef PMC_DEBUG_LED
set_auxio(0x00, AUXIO_LED);