diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-20 06:27:13 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-20 06:27:13 +0400 |
commit | 62669e61a5f559826b1d2e863649a6005eee629b (patch) | |
tree | 253b17f2897b7fad5f29e796e1c954500b3ca925 /drivers/video/hitfb.c | |
parent | 639138a991aaf1a3f65cc66700d097edc5f602fe (diff) | |
download | linux-62669e61a5f559826b1d2e863649a6005eee629b.tar.xz |
sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes.
Fixes several compile errors due to the recent hd64461 I/O base changes.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/hitfb.c')
-rw-r--r-- | drivers/video/hitfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/hitfb.c b/drivers/video/hitfb.c index e6467cf9f19f..020db7fc9153 100644 --- a/drivers/video/hitfb.c +++ b/drivers/video/hitfb.c @@ -335,9 +335,9 @@ static int __init hitfb_probe(struct platform_device *dev) if (fb_get_options("hitfb", NULL)) return -ENODEV; - hitfb_fix.mmio_start = CONFIG_HD64461_IOBASE+0x1000; + hitfb_fix.mmio_start = HD64461_IO_OFFSET(0x1000); hitfb_fix.mmio_len = 0x1000; - hitfb_fix.smem_start = CONFIG_HD64461_IOBASE + 0x02000000; + hitfb_fix.smem_start = HD64461_IO_OFFSET(0x02000000); hitfb_fix.smem_len = 512 * 1024; lcdclor = fb_readw(HD64461_LCDCLOR); |