Skip to content

Commit

Permalink
Input: drivers/char/keyboard.c - small cleanup in k_cur()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brandon Philips authored and Dmitry Torokhov committed Nov 5, 2006
1 parent 0fea0e9 commit e52b29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e52b29c

Please sign in to comment.