Commit c837bc14 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] amba-clcd: don't use SZ_ constants in drivers

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3719ec50
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment