diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/pm2fb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c index 2a8ba6022d3..33f17a96a56 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; |