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
@@ -601,7 +601,7 @@ sisusbcon_save_screen(struct vc_data *c)
|
||||
|
||||
/* interface routine */
|
||||
static int
|
||||
sisusbcon_set_palette(struct vc_data *c, unsigned char *table)
|
||||
sisusbcon_set_palette(struct vc_data *c, const unsigned char *table)
|
||||
{
|
||||
struct sisusb_usb_data *sisusb;
|
||||
int i, j;
|
||||
|
Reference in New Issue
Block a user