diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-03-31 04:08:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 12:26:55 -0400 |
commit | 8ede5cce4f0baff77ef63aa3cb3afc65d0317e0b (patch) | |
tree | c4b95d5974701687e308d6a81816bad172c23a85 /drivers/tty | |
parent | 34902b7f2754e6d890feb0cee34187f1bc75c930 (diff) |
tty: vt, make color_table const
This means all ->con_set_palette have to have the second parameter
const too now.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/vt/vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index d1da391febb4..2c71b3bde174 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c | |||
@@ -1039,7 +1039,7 @@ struct vc_data *vc_deallocate(unsigned int currcons) | |||
1039 | #define VT100ID "\033[?1;2c" | 1039 | #define VT100ID "\033[?1;2c" |
1040 | #define VT102ID "\033[?6c" | 1040 | #define VT102ID "\033[?6c" |
1041 | 1041 | ||
1042 | unsigned char color_table[] = { 0, 4, 2, 6, 1, 5, 3, 7, | 1042 | const unsigned char color_table[] = { 0, 4, 2, 6, 1, 5, 3, 7, |
1043 | 8,12,10,14, 9,13,11,15 }; | 1043 | 8,12,10,14, 9,13,11,15 }; |
1044 | 1044 | ||
1045 | /* the default colour table, for VGA+ colour systems */ | 1045 | /* the default colour table, for VGA+ colour systems */ |