提交 c837bc14 编写于 作者: R Russell King 提交者: Russell King

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

Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册