[PATCH] fbcon: constify font data
const-ify the font control structures and data, to make somewhat better guarantees that these are not modified anywhere in the kernel. Specifically for a kernel debugger to share this information from the normal kernel code, such a guarantee seems rather desirable. Signed-off-by: Jan Beulich <jbeulich@novell.com> Cc: "Antonino A. Daplas" <adaplas@hotpop.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
e703ecc3bf
commit
2f4516dbd0
@@ -619,7 +619,7 @@ struct fb_tilemap {
|
||||
__u32 height; /* height of each tile in scanlines */
|
||||
__u32 depth; /* color depth of each tile */
|
||||
__u32 length; /* number of tiles in the map */
|
||||
__u8 *data; /* actual tile map: a bitmap array, packed
|
||||
const __u8 *data; /* actual tile map: a bitmap array, packed
|
||||
to the nearest byte */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user