aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/keyboard.c
diff options
context:
space:
mode:
authorBrandon Philips <brandon@ifup.org>2006-11-04 22:09:08 -0500
committerDmitry Torokhov <dtor@insightbb.com>2006-11-04 22:09:08 -0500
commite52b29c2a637f6854d71a45646d7283d984a6dad (patch)
tree111216d61788217334eca976e4fe3e2d34d2fb3d /drivers/char/keyboard.c
parent0fea0e9a9c72dab526447895605fc236c87c2726 (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>
Diffstat (limited to 'drivers/char/keyboard.c')
-rw-r--r--drivers/char/keyboard.c2
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
711static void k_cur(struct vc_data *vc, unsigned char value, char up_flag) 711static 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;