projects/linux·commit 61838ffe

[PATCH] DEC PMAG AA framebuffer update

61838ffe · Ralf Baechle <[email protected]> · 2005-09-03 15:56:09 -07:00

Get it working again.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
61838ffeee8296de8bfee751e9ad67bf6c61d0b4
Parents
003b5492

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/video/pmag-aa-fb.cmodified+1−1View file

drivers/video/pmag-aa-fb.c

View file
diff --git a/drivers/video/pmag-aa-fb.c b/drivers/video/pmag-aa-fb.c
index 3e00ad7..28d1fe5 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));