Explorar o código

[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 %!s(int64=20) %!d(string=hai) anos
pai
achega
61838ffeee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 {
-	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));