summaryrefslogtreecommitdiff
path: root/drivers/video/console/font_6x11.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2005-09-13 12:25:44 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 19:22:32 +0400
commit2f4516dbd048f25eba78e115e8e73e1e8f04e7f9 (patch)
treee803f2b6c128aee352f00455547417752e9f9114 /drivers/video/console/font_6x11.c
parente703ecc3bfbe10f478500798c0c5826d00ad9fe3 (diff)
downloadlinux-2f4516dbd048f25eba78e115e8e73e1e8f04e7f9.tar.xz
[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>
Diffstat (limited to 'drivers/video/console/font_6x11.c')
-rw-r--r--drivers/video/console/font_6x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/font_6x11.c b/drivers/video/console/font_6x11.c
index c52f1294044a..89976cd97494 100644
--- a/drivers/video/console/font_6x11.c
+++ b/drivers/video/console/font_6x11.c
@@ -8,7 +8,7 @@
#define FONTDATAMAX (11*256)
-static unsigned char fontdata_6x11[FONTDATAMAX] = {
+static const unsigned char fontdata_6x11[FONTDATAMAX] = {
/* 0 0x00 '^@' */
0x00, /* 00000000 */
@@ -3341,7 +3341,7 @@ static unsigned char fontdata_6x11[FONTDATAMAX] = {
};
-struct font_desc font_vga_6x11 = {
+const struct font_desc font_vga_6x11 = {
VGA6x11_IDX,
"ProFont6x11",
6,