summaryrefslogtreecommitdiff
path: root/drivers/video/pmag-aa-fb.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-03 15:56:09 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:06:03 -0700
commit61838ffeee8296de8bfee751e9ad67bf6c61d0b4 (patch)
treeef515c86a475ebbfb0d5273f16e02e57adc5cfa7 /drivers/video/pmag-aa-fb.c
parent003b54925e2ac78306f74ac433126ad5de387f7a (diff)
[PATCH] DEC PMAG AA framebuffer update
Get it working again. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/pmag-aa-fb.c')
-rw-r--r--drivers/video/pmag-aa-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pmag-aa-fb.c b/drivers/video/pmag-aa-fb.c
index 3e00ad7f2e31..28d1fe5fe340 100644
--- a/drivers/video/pmag-aa-fb.c
+++ b/drivers/video/pmag-aa-fb.c
@@ -413,7 +413,7 @@ static struct fb_ops aafb_ops = {
static int __init init_one(int slot)
{
- unsigned long base_addr = get_tc_base_addr(slot);
+ unsigned long base_addr = CKSEG1ADDR(get_tc_base_addr(slot));
struct aafb_info *ip = &my_fb_info[slot];
memset(ip, 0, sizeof(struct aafb_info));