From: Sam Ravnborg Date: Mon, 8 Dec 2008 09:02:23 +0000 (-0800) Subject: sparc: fix sparse warning in kernel/pmc.c X-Git-Tag: MMI-PSA29.97-13-9~30461^2~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=39f6649b61536138fd16188c1a8dd30795a3696a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- 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; * 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);