Skip to content

Commit

Permalink
sparc: fix sparse warning in kernel/pmc.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Dec 8, 2008
1 parent efe6c3d commit 39f6649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39f6649

Please sign in to comment.