Commit 39f6649b authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

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: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efe6c3dd
...@@ -38,7 +38,7 @@ static u8 __iomem *regs; ...@@ -38,7 +38,7 @@ static u8 __iomem *regs;
* CPU idle callback function * CPU idle callback function
* See .../arch/sparc/kernel/process.c * See .../arch/sparc/kernel/process.c
*/ */
void pmc_swift_idle(void) static void pmc_swift_idle(void)
{ {
#ifdef PMC_DEBUG_LED #ifdef PMC_DEBUG_LED
set_auxio(0x00, AUXIO_LED); set_auxio(0x00, AUXIO_LED);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment