Commit 2407390b authored by Michal Januszewski's avatar Michal Januszewski Committed by Ingo Molnar

x86: replace a magic number with a named constant in the VESA boot code

Replace a magic number with a named constant in the VESA boot code.
Signed-off-by: default avatarMichal Januszewski <spock@gentoo.org>
Cc: linux-fbdev-devel@lists.sourceforge.net
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d960c9ce
......@@ -224,7 +224,7 @@ static void vesa_store_pm_info(void)
static void vesa_store_mode_params_graphics(void)
{
/* Tell the kernel we're in VESA graphics mode */
boot_params.screen_info.orig_video_isVGA = 0x23;
boot_params.screen_info.orig_video_isVGA = VIDEO_TYPE_VLFB;
/* Mode parameters */
boot_params.screen_info.vesa_attributes = vminfo.mode_attr;
......
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