diff options
author | Brandon Philips <brandon@ifup.org> | 2006-11-05 03:09:08 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-11-05 03:09:08 (GMT) |
commit | e52b29c2a637f6854d71a45646d7283d984a6dad (patch) | |
tree | 111216d61788217334eca976e4fe3e2d34d2fb3d /drivers/char/keyboard.c | |
parent | 0fea0e9a9c72dab526447895605fc236c87c2726 (diff) | |
download | linux-e52b29c2a637f6854d71a45646d7283d984a6dad.tar.xz |
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>
Diffstat (limited to 'drivers/char/keyboard.c')
-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 20b6c8b..7a6c1c0 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) 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; |