aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-08 04:02:23 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-08 04:02:23 -0500
commit39f6649b61536138fd16188c1a8dd30795a3696a (patch)
tree75d35aa571478fa3bd4c65a444bb6dbd2aa50f7f /arch
parentefe6c3dd8b7df809d46fb521eb9af471c47ed608 (diff)
sparc: fix sparse warning in kernel/pmc.c
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/pmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c
index 2afcfab4f11c..33cd4998eb04 100644
--- a/arch/sparc/kernel/pmc.c
+++ b/arch/sparc/kernel/pmc.c
@@ -38,7 +38,7 @@ static u8 __iomem *regs;
38 * CPU idle callback function 38 * CPU idle callback function
39 * See .../arch/sparc/kernel/process.c 39 * See .../arch/sparc/kernel/process.c
40 */ 40 */
41void pmc_swift_idle(void) 41static void pmc_swift_idle(void)
42{ 42{
43#ifdef PMC_DEBUG_LED 43#ifdef PMC_DEBUG_LED
44 set_auxio(0x00, AUXIO_LED); 44 set_auxio(0x00, AUXIO_LED);