font8x8; revert deconstification
authorAlan Cox <alan@linux.intel.com>
Sun, 22 Jul 2018 22:25:46 +0000 (23:25 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 22 Jul 2018 22:25:46 +0000 (23:25 +0100)
We don't want sdcc making a huge initializer blob of it. Once we fix sdcc
we can sort this out. It might matter for other ports if so we may have to
ifdef it a bit

Kernel/font8x8.c

index 89aaa2a..b769bc0 100644 (file)
@@ -12,7 +12,7 @@
 #define FONTDATAMAX 2048
 #endif
 
-unsigned char fontdata_8x8[FONTDATAMAX] = {
+const unsigned char fontdata_8x8[FONTDATAMAX] = {
 #ifndef CONFIG_FONT8X8SMALL
        /* 0 0x00 '^@' */
        0x00, /* 00000000 */