Skip to content

Commit

Permalink
[ARM] amba-clcd: don't use SZ_ constants in drivers
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 30, 2008
1 parent 3719ec5 commit c837bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/amba-clcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c837bc1

Please sign in to comment.