diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c index 2a8ba6022d3db409555948e44d60497c68ee1698..33f17a96a569219b9d3a52283b9d37257e68c36c 100644 --- a/drivers/video/pm2fb.c +++ b/drivers/video/pm2fb.c @@ -645,6 +645,8 @@ static int pm2fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) return -EINVAL; } + var->transp.offset = 0; + var->transp.length = 0; switch(var->bits_per_pixel) { case 8: var->red.length = var->green.length = var->blue.length = 8;