diff options
author | Brandon Philips <brandon@ifup.org> | 2006-11-04 22:09:08 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-11-04 22:09:08 -0500 |
commit | e52b29c2a637f6854d71a45646d7283d984a6dad (patch) | |
tree | 111216d61788217334eca976e4fe3e2d34d2fb3d | |
parent | 0fea0e9a9c72dab526447895605fc236c87c2726 (diff) |
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>
-rw-r--r-- | drivers/char/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index 20b6c8b30248..7a6c1c0b7a95 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c | |||
@@ -710,7 +710,7 @@ static void k_fn(struct vc_data *vc, unsigned char value, char up_flag) | |||
710 | 710 | ||
711 | static void k_cur(struct vc_data *vc, unsigned char value, char up_flag) | 711 | static void k_cur(struct vc_data *vc, unsigned char value, char up_flag) |
712 | { | 712 | { |
713 | static const char *cur_chars = "BDCA"; | 713 | static const char cur_chars[] = "BDCA"; |
714 | 714 | ||
715 | if (up_flag) | 715 | if (up_flag) |
716 | return; | 716 | return; |