diff options
| author | Helge Deller <[email protected]> | 2006-12-08 02:40:27 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-08 08:29:05 -0800 |
| commit | adf6b206546414fd006098d027e81f2b576ea2aa (patch) | |
| tree | c1147f1f850e6e0578e62093a1c50f50cd81c307 /include/linux/debugobjects.h | |
| parent | 357b819dda03e642f9c2d737596ad6cdc0022c00 (diff) | |
[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 <[email protected]>
Acked-by: James Simmons <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions