From: Helge Deller Date: Fri, 8 Dec 2006 10:40:27 +0000 (-0800) Subject: [PATCH] fbcmap.c: mark structs const or __read_mostly X-Git-Tag: v2.6.20-rc1~34^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf6b206546414fd006098d027e81f2b576ea2aa;p=pandora-kernel.git [PATCH] fbcmap.c: mark structs const or __read_mostly - Mark the default colormaps read-only, as nobody should be allowed to modify them - Additionally mark color values as __read_mostly since they will only be modified (very seldom) by fb_invert_cmaps() - Add named C99-initializers in fb_cmap structs and use the ARRAY_SIZE() macro Signed-off-by: Helge Deller Acked-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed