Commit e52b29c2 authored by Brandon Philips's avatar Brandon Philips Committed by Dmitry Torokhov

Input: drivers/char/keyboard.c - small cleanup in k_cur()

To save a char pointer in the final assembly change to alternate string
form.
Signed-off-by: default avatarBrandon Philips <brandon@ifup.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 0fea0e9a
......@@ -710,7 +710,7 @@ static void k_fn(struct vc_data *vc, unsigned char value, char up_flag)
static void k_cur(struct vc_data *vc, unsigned char value, char up_flag)
{
static const char *cur_chars = "BDCA";
static const char cur_chars[] = "BDCA";
if (up_flag)
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment