ocfs2: Fix a bug found by sparse check.
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / video / amba-clcd.c
index c818174b40d16fa6f5f6813cdd45b5bb1d9dd902..4e046fed1380e7b4f158b4fe4c576b825b575eca 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/amba/bus.h>
 #include <linux/amba/clcd.h>
 #include <linux/clk.h>
+#include <linux/hardirq.h>
 
 #include <asm/sizes.h>
 
@@ -350,7 +351,7 @@ static int clcdfb_register(struct clcd_fb *fb)
        }
 
        fb->fb.fix.mmio_start   = fb->dev->res.start;
-       fb->fb.fix.mmio_len     = SZ_4K;
+       fb->fb.fix.mmio_len     = 4096;
 
        fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len);
        if (!fb->regs) {