aboutsummaryrefslogtreecommitdiff
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 20b6c8b3024..7a6c1c0b7a9 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;