summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/font_mini_4x6.c
diff options
context:
space:
mode:
authorJan Beulich2005-09-13 10:25:44 +0200
committerLinus Torvalds2005-09-13 17:22:32 +0200
commit2f4516dbd048f25eba78e115e8e73e1e8f04e7f9 (patch)
treee803f2b6c128aee352f00455547417752e9f9114 /drivers/video/console/font_mini_4x6.c
parent[PATCH] minor fbcon_scroll adjustment (diff)
downloadkernel-qcow2-linux-2f4516dbd048f25eba78e115e8e73e1e8f04e7f9.tar.gz
kernel-qcow2-linux-2f4516dbd048f25eba78e115e8e73e1e8f04e7f9.tar.xz
kernel-qcow2-linux-2f4516dbd048f25eba78e115e8e73e1e8f04e7f9.zip
[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_mini_4x6.c')
-rw-r--r--drivers/video/console/font_mini_4x6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/font_mini_4x6.c b/drivers/video/console/font_mini_4x6.c
index 593b95500a0c..d818234fdf11 100644
--- a/drivers/video/console/font_mini_4x6.c
+++ b/drivers/video/console/font_mini_4x6.c
@@ -43,7 +43,7 @@ __END__;
#define FONTDATAMAX 1536
-static unsigned char fontdata_mini_4x6[FONTDATAMAX] = {
+static const unsigned char fontdata_mini_4x6[FONTDATAMAX] = {
/*{*/
/* Char 0: ' ' */
@@ -2147,7 +2147,7 @@ static unsigned char fontdata_mini_4x6[FONTDATAMAX] = {
/*}*/
};
-struct font_desc font_mini_4x6 = {
+const struct font_desc font_mini_4x6 = {
MINI4x6_IDX,
"MINI4x6",
4,