aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/neofb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c
index 395ccedde9a6..bd30aba242d0 100644
--- a/drivers/video/neofb.c
+++ b/drivers/video/neofb.c
@@ -665,6 +665,7 @@ neofb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
665 var->red.msb_right = 0; 665 var->red.msb_right = 0;
666 var->green.msb_right = 0; 666 var->green.msb_right = 0;
667 var->blue.msb_right = 0; 667 var->blue.msb_right = 0;
668 var->transp.msb_right = 0;
668 669
669 switch (var->bits_per_pixel) { 670 switch (var->bits_per_pixel) {
670 case 8: /* PSEUDOCOLOUR, 256 */ 671 case 8: /* PSEUDOCOLOUR, 256 */