瀏覽代碼

[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>
Ralf Baechle 19 年之前
父節點
當前提交
61838ffeee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/video/pmag-aa-fb.c

+ 1 - 1
drivers/video/pmag-aa-fb.c

@@ -413,7 +413,7 @@ static struct fb_ops aafb_ops = {
 
 
 static int __init init_one(int slot)
 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];
 	struct aafb_info *ip = &my_fb_info[slot];
 
 
 	memset(ip, 0, sizeof(struct aafb_info));
 	memset(ip, 0, sizeof(struct aafb_info));