summaryrefslogtreecommitdiffstats
path: root/drivers/video/amba-clcd.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-30 13:46:10 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-30 13:46:10 +0000
commitc837bc143126b0e8e0537eb6f8272ade807d48fd (patch)
tree78e2ff6594f41e9684c6ae425e8c14ea0f499ac0 /drivers/video/amba-clcd.c
parent3719ec5077d9a8bf293c494ff7eae766d6a70bbe (diff)
downloadop-kernel-dev-c837bc143126b0e8e0537eb6f8272ade807d48fd.zip
op-kernel-dev-c837bc143126b0e8e0537eb6f8272ade807d48fd.tar.gz
[ARM] amba-clcd: don't use SZ_ constants in drivers
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/amba-clcd.c')
-rw-r--r--drivers/video/amba-clcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/amba-clcd.c b/drivers/video/amba-clcd.c
index a7a1c89..70ba1bd 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) {
OpenPOWER on IntegriCloud