Skip to content

Commit

Permalink
x86: replace a magic number with a named constant in the VESA boot code
Browse files Browse the repository at this point in the history
Replace a magic number with a named constant in the VESA boot code.

Signed-off-by: Michal Januszewski <spock@gentoo.org>
Cc: linux-fbdev-devel@lists.sourceforge.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Michal Januszewski authored and Ingo Molnar committed Oct 5, 2008
1 parent d960c9c commit 2407390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/boot/video-vesa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2407390

Please sign in to comment.