x86: replace a magic number with a named constant in the VESA boot code
Subsystems (3)
PATCH 1/1 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 Michal Januszewski <[email protected]>
---
arch/x86/boot/video-vesa.c +1 -1
@@ -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;
Ingo Molnar
Appliedarch/x86/boot/video-vesa.c
Quoted 5 lines · Michal Januszewski
Replace a magic number with a named constant in the VESA boot code.
Signed-off-by Michal Januszewski <[email protected]>---
arch/x86/boot/video-vesa.c +0
-0
applied to tip/x86/setup, thanks Michal!
Ingo