[PATCH] DEC PMAG AA framebuffer update
authorRalf Baechle <ralf@linux-mips.org>
Sat, 3 Sep 2005 22:56:09 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:03 +0000 (00:06 -0700)
Get it working again.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/pmag-aa-fb.c

index 3e00ad7f2e3179496086053639fc8ace2716fdf5..28d1fe5fe34007fcdf9996cb0216154732e74f1e 100644 (file)
@@ -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));