summaryrefslogtreecommitdiff
path: root/arch/x86/boot/video.h
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2015-01-25 00:11:32 +0600
committerIngo Molnar <mingo@kernel.org>2015-02-19 00:25:05 +0100
commit79287cf8778df21e5ad6c3ac01615e02cf9dbae6 (patch)
treeb86c51214a9cf278178e2bfd6e939dfca333a29a /arch/x86/boot/video.h
parente07e0d4cb0c4bfe822ec8491cc06269096a38bea (diff)
x86/boot/video: Move the 'video_segment' variable to video.c
video.c is the only real user of the 'video_segment' variable, so move it to video.c and make it static. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Martin Mares <mj@ucw.cz> Link: http://lkml.kernel.org/r/1422123092-28750-1-git-send-email-kuleshovmail@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot/video.h')
-rw-r--r--arch/x86/boot/video.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/boot/video.h b/arch/x86/boot/video.h
index 0bb25491262d..b54e0328c449 100644
--- a/arch/x86/boot/video.h
+++ b/arch/x86/boot/video.h
@@ -91,7 +91,6 @@ int mode_defined(u16 mode); /* video.c */
#define ADAPTER_VGA 2
extern int adapter;
-extern u16 video_segment;
extern int force_x, force_y; /* Don't query the BIOS for cols/rows */
extern int do_restore; /* Restore screen contents */
extern int graphic_mode; /* Graphics mode with linear frame buffer */