From: Russell King Date: Sun, 30 Nov 2008 13:46:10 +0000 (+0000) Subject: [ARM] amba-clcd: don't use SZ_ constants in drivers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c837bc143126b0e8e0537eb6f8272ade807d48fd;p=openwrt%2Fstaging%2Fblogic.git [ARM] amba-clcd: don't use SZ_ constants in drivers Signed-off-by: Russell King --- 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) } 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) {