aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/controlfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/controlfb.c b/drivers/video/controlfb.c
index 7b2c40abae15..0c189b32a4c5 100644
--- a/drivers/video/controlfb.c
+++ b/drivers/video/controlfb.c
@@ -420,7 +420,7 @@ static int __init init_control(struct fb_info_control *p)
420 420
421 /* Try to pick a video mode out of NVRAM if we have one. */ 421 /* Try to pick a video mode out of NVRAM if we have one. */
422#ifdef CONFIG_NVRAM 422#ifdef CONFIG_NVRAM
423 if (default_cmode == CMODE_NVRAM){ 423 if (default_cmode == CMODE_NVRAM) {
424 cmode = nvram_read_byte(NV_CMODE); 424 cmode = nvram_read_byte(NV_CMODE);
425 if(cmode < CMODE_8 || cmode > CMODE_32) 425 if(cmode < CMODE_8 || cmode > CMODE_32)
426 cmode = CMODE_8; 426 cmode = CMODE_8;