summaryrefslogtreecommitdiff
path: root/drivers/video/console/mdacon.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2016-03-31 11:08:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-30 19:26:55 +0300
commit8ede5cce4f0baff77ef63aa3cb3afc65d0317e0b (patch)
treec4b95d5974701687e308d6a81816bad172c23a85 /drivers/video/console/mdacon.c
parent34902b7f2754e6d890feb0cee34187f1bc75c930 (diff)
downloadlinux-8ede5cce4f0baff77ef63aa3cb3afc65d0317e0b.tar.xz
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/video/console/mdacon.c')
-rw-r--r--drivers/video/console/mdacon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/mdacon.c b/drivers/video/console/mdacon.c
index 296e94561556..8edc062536a8 100644
--- a/drivers/video/console/mdacon.c
+++ b/drivers/video/console/mdacon.c
@@ -481,7 +481,7 @@ static int mdacon_switch(struct vc_data *c)
return 1; /* redrawing needed */
}
-static int mdacon_set_palette(struct vc_data *c, unsigned char *table)
+static int mdacon_set_palette(struct vc_data *c, const unsigned char *table)
{
return -EINVAL;
}