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 14:46:10 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-30 14:46:10 +0100
commitc837bc143126b0e8e0537eb6f8272ade807d48fd (patch)
tree78e2ff6594f41e9684c6ae425e8c14ea0f499ac0 /drivers/video/amba-clcd.c
parent[ARM] Ensure that both MAX_DMA_ADDRESS and ISA_DMA_THRESHOLD are defined (diff)
downloadlinux-c837bc143126b0e8e0537eb6f8272ade807d48fd.tar.xz
linux-c837bc143126b0e8e0537eb6f8272ade807d48fd.zip
[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 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) {