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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
34902b7f27
commit
8ede5cce4f
@@ -47,7 +47,7 @@ struct consw {
|
||||
int (*con_font_copy)(struct vc_data *, int);
|
||||
int (*con_resize)(struct vc_data *, unsigned int, unsigned int,
|
||||
unsigned int);
|
||||
int (*con_set_palette)(struct vc_data *, unsigned char *);
|
||||
int (*con_set_palette)(struct vc_data *, const unsigned char *);
|
||||
int (*con_scrolldelta)(struct vc_data *, int);
|
||||
int (*con_set_origin)(struct vc_data *);
|
||||
void (*con_save_screen)(struct vc_data *);
|
||||
|
||||
Reference in New Issue
Block a user