History

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.

Michal Januszewski committed 18 years ago

Commit 24073901 parent d960c9c1 file · +1 −1Browse files

Unified · Split

arch/x86/boot/video-vesa.c+1−1
@@ -224,7 +224,7 @@ static void vesa_store_pm_info(void) · 223 unmodified lines
224224 static void vesa_store_mode_params_graphics(void)
225225 {
226226 /* Tell the kernel we're in VESA graphics mode */
227− boot_params.screen_info.orig_video_isVGA = 0x23;
227+ boot_params.screen_info.orig_video_isVGA = VIDEO_TYPE_VLFB;
228228
229229 /* Mode parameters */
230230 boot_params.screen_info.vesa_attributes = vminfo.mode_attr;