[ARM] amba-clcd: don't use SZ_ constants in drivers
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 30 Nov 2008 13:46:10 +0000 (13:46 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 30 Nov 2008 13:46:10 +0000 (13:46 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/amba-clcd.c

index a7a1c891bfa2e0646a1e73757f47de70e017b77a..70ba1bd845fb5a2ff31091a67db5bbeb47d58715 100644 (file)
@@ -350,7 +350,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) {