From: Finn Thain Date: Tue, 3 Nov 2009 13:51:18 +0000 (+1100) Subject: macfb: fix 24-bit visual and stuff X-Git-Tag: v2.6.34-rc1~267^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99e11ab20b26b3236490ae687ab309c2601d180b;p=pandora-kernel.git macfb: fix 24-bit visual and stuff Lots of changes. Remove volatile keywords. Take the advice in the comments and change video_slot to slot_addr. Factor out fifteen or so "channel >> 8" shifts into three shifts higher up the call graph. Make csc_setpalette() atomic, pass the correct color values. Check for ioremap() failure. Add missing break statement, thus fixing 24 bit console visual (blue background bug). Remove some uninformative printk() noise. Add a description for powerbook 140/170 graphics. Signed-off-by: Finn Thain Signed-off-by: Geert Uytterhoeven --- Reading git-diff-tree failed