diff --git a/drivers/video/sm501fb.c b/drivers/video/sm501fb.c index 98f24f0ec00df511247adcd09f692baa5cc577de..16d4f4c7d52b5b02e6fcff002b8c0d03160b371c 100644 --- a/drivers/video/sm501fb.c +++ b/drivers/video/sm501fb.c @@ -1624,6 +1624,8 @@ static int __devinit sm501fb_start_one(struct sm501fb_info *info, if (!fbi) return 0; + mutex_init(&info->fb[head]->mm_lock); + ret = sm501fb_init_fb(info->fb[head], head, drvname); if (ret) { dev_err(info->dev, "cannot initialise fb %s\n", drvname);