diff options
-rw-r--r-- | drivers/video/amba-clcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/amba-clcd.c b/drivers/video/amba-clcd.c index a7a1c891bfa2..70ba1bd845fb 100644 --- a/drivers/video/amba-clcd.c +++ b/drivers/video/amba-clcd.c | |||
@@ -350,7 +350,7 @@ static int clcdfb_register(struct clcd_fb *fb) | |||
350 | } | 350 | } |
351 | 351 | ||
352 | fb->fb.fix.mmio_start = fb->dev->res.start; | 352 | fb->fb.fix.mmio_start = fb->dev->res.start; |
353 | fb->fb.fix.mmio_len = SZ_4K; | 353 | fb->fb.fix.mmio_len = 4096; |
354 | 354 | ||
355 | fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len); | 355 | fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len); |
356 | if (!fb->regs) { | 356 | if (!fb->regs) { |