Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -224,7 +224,7 @@ static void vesa_store_pm_info(void)
static void vesa_store_mode_params_graphics(void)
static void vesa_store_mode_params_graphics(void)
{
{
	/* Tell the kernel we're in VESA graphics mode */
	/* 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 */
	/* Mode parameters */
	boot_params.screen_info.vesa_attributes = vminfo.mode_attr;
	boot_params.screen_info.vesa_attributes = vminfo.mode_attr;