summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:25:55 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-18 19:01:30 -0700
commitf1eabec577c447ad41f8da165c89435416e4346d (patch)
treea7e0643aafb595fd627e991a5c28f866f8640bce /arch/sparc
parent8df52620e69884d165065a6be6691fe691f3ad39 (diff)
downloadlinux-f1eabec577c447ad41f8da165c89435416e4346d.tar.bz2
sparc64: fix sparse warning in btext.c
Fix following warning: btext.c:140:6: warning: symbol 'btext_drawchar' was not declared. Should it be static? Define the function static as it is only used in this file. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/btext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/btext.c b/arch/sparc/kernel/btext.c
index 57073e56ba9e..987f7ec497cc 100644
--- a/arch/sparc/kernel/btext.c
+++ b/arch/sparc/kernel/btext.c
@@ -137,7 +137,7 @@ static void scrollscreen(void)
}
#endif /* ndef NO_SCROLL */
-void btext_drawchar(char c)
+static void btext_drawchar(char c)
{
int cline = 0;
#ifdef NO_SCROLL