mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
e703ecc3bf
commit
2f4516dbd0
15 changed files with 39 additions and 40 deletions
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue