summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmon.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2006-12-08 11:40:27 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:29:05 +0100
commitadf6b206546414fd006098d027e81f2b576ea2aa (patch)
treec1147f1f850e6e0578e62093a1c50f50cd81c307 /drivers/video/fbmon.c
parent[PATCH] s3c2410fb: Add support for STN displays (diff)
downloadlinux-adf6b206546414fd006098d027e81f2b576ea2aa.tar.xz
linux-adf6b206546414fd006098d027e81f2b576ea2aa.zip
[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 <deller@gmx.de> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/fbmon.c')
0 files changed, 0 insertions, 0 deletions