diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-10-16 04:29:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:17 -0400 |
commit | ad41b439cc0650952d14f4083af36cc4b3321a77 (patch) | |
tree | b85bd47357c8890f11054164c8accbb593ec2e84 /drivers/video/aty/atyfb_base.c | |
parent | 93613b9fbea6e636d3af51c71fc1b9b2e7d4fb0c (diff) |
atyfb: atyfb: Unshare pseudo_palette
atyfb: Move the pseudo palette into the card-specific atyfb_par, so it's no
longer shared among multiple cards
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty/atyfb_base.c')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index bc6f0096aa04..b537151136fc 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -541,8 +541,6 @@ static char ram_off[] __devinitdata = "OFF"; | |||
541 | #endif /* CONFIG_FB_ATY_CT */ | 541 | #endif /* CONFIG_FB_ATY_CT */ |
542 | 542 | ||
543 | 543 | ||
544 | static u32 pseudo_palette[16]; | ||
545 | |||
546 | #ifdef CONFIG_FB_ATY_GX | 544 | #ifdef CONFIG_FB_ATY_GX |
547 | static char *aty_gx_ram[8] __devinitdata = { | 545 | static char *aty_gx_ram[8] __devinitdata = { |
548 | ram_dram, ram_vram, ram_vram, ram_dram, | 546 | ram_dram, ram_vram, ram_vram, ram_dram, |
@@ -2577,7 +2575,7 @@ static int __devinit aty_init(struct fb_info *info) | |||
2577 | #endif | 2575 | #endif |
2578 | 2576 | ||
2579 | info->fbops = &atyfb_ops; | 2577 | info->fbops = &atyfb_ops; |
2580 | info->pseudo_palette = pseudo_palette; | 2578 | info->pseudo_palette = par->pseudo_palette; |
2581 | info->flags = FBINFO_DEFAULT | | 2579 | info->flags = FBINFO_DEFAULT | |
2582 | FBINFO_HWACCEL_IMAGEBLIT | | 2580 | FBINFO_HWACCEL_IMAGEBLIT | |
2583 | FBINFO_HWACCEL_FILLRECT | | 2581 | FBINFO_HWACCEL_FILLRECT | |