diff options
Diffstat (limited to 'drivers/video/amba-clcd.c')
-rw-r--r-- | drivers/video/amba-clcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/amba-clcd.c b/drivers/video/amba-clcd.c index 5fc983c5b92c..cf03ad067147 100644 --- a/drivers/video/amba-clcd.c +++ b/drivers/video/amba-clcd.c | |||
@@ -447,6 +447,8 @@ static int clcdfb_register(struct clcd_fb *fb) | |||
447 | goto out; | 447 | goto out; |
448 | } | 448 | } |
449 | 449 | ||
450 | fb->fb.device = &fb->dev->dev; | ||
451 | |||
450 | fb->fb.fix.mmio_start = fb->dev->res.start; | 452 | fb->fb.fix.mmio_start = fb->dev->res.start; |
451 | fb->fb.fix.mmio_len = resource_size(&fb->dev->res); | 453 | fb->fb.fix.mmio_len = resource_size(&fb->dev->res); |
452 | 454 | ||