]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: replace a magic number with a named constant in the VESA boot code
authorMichal Januszewski <spock@gentoo.org>
Sun, 5 Oct 2008 10:16:04 +0000 (12:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 5 Oct 2008 16:39:29 +0000 (18:39 +0200)
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>
arch/x86/boot/video-vesa.c

index 401ad998ad08d7cd63943a5b7a7ae893264b5e3f..1e6fe0214c85a34788f8ddb55f3d9b3f559b0f41 100644 (file)
@@ -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;