Fix build of controlfb driver

parent cec2043a
......@@ -475,7 +475,7 @@ static int __init init_control(struct fb_info_control *p)
/* Apply default var */
var.activate = FB_ACTIVATE_NOW;
rc = fb_set_var(&var, &p->info);
rc = fb_set_var(&p->info, &var);
if (rc && (vmode != VMODE_640_480_60 || cmode != CMODE_8))
goto try_again;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment