[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
@@ -30,7 +30,7 @@ struct display {
|
||||
/* Filled in by the frame buffer device */
|
||||
u_short inverse; /* != 0 text black on white as default */
|
||||
/* Filled in by the low-level console driver */
|
||||
u_char *fontdata;
|
||||
const u_char *fontdata;
|
||||
int userfont; /* != 0 if fontdata kmalloc()ed */
|
||||
u_short scrollmode; /* Scroll Method */
|
||||
short yscroll; /* Hardware scrolling */
|
||||
|
Reference in New Issue
Block a user