From: Ralf Baechle Date: Sat, 3 Sep 2005 22:56:09 +0000 (-0700) Subject: [PATCH] DEC PMAG AA framebuffer update X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=61838ffeee8296de8bfee751e9ad67bf6c61d0b4;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] DEC PMAG AA framebuffer update Get it working again. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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));