mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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: Brandon Philips <brandon@ifup.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
0fea0e9a9c
commit
e52b29c2a6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue