summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/video.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-23 19:37:09 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-23 19:58:58 +0100
commita1a00b58855ccdbedf556b4f5638d5208b454472 (patch)
tree1acce04989a9a9b4064f5f44674f737b5b077fed /arch/x86/boot/video.c
parentMerge master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadlinux-a1a00b58855ccdbedf556b4f5638d5208b454472.tar.xz
linux-a1a00b58855ccdbedf556b4f5638d5208b454472.zip
x86: boot - fix sparse warnings
Impact: make global variables static Fix these sparse warnings: arch/x86/boot/video.c:233:3: warning: symbol 'saved' was not declared. Should it be static? arch/x86/boot/video-vga.c:37:13: warning: symbol 'video_vga' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/boot/video.c')
-rw-r--r--arch/x86/boot/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/video.c b/arch/x86/boot/video.c
index 83598b23093a..3bef2c1febe9 100644
--- a/arch/x86/boot/video.c
+++ b/arch/x86/boot/video.c
@@ -226,7 +226,7 @@ static unsigned int mode_menu(void)
#ifdef CONFIG_VIDEO_RETAIN
/* Save screen content to the heap */
-struct saved_screen {
+static struct saved_screen {
int x, y;
int curx, cury;
u16 *data;