projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fea0e9
)
Input: drivers/char/keyboard.c - small cleanup in k_cur()
author
Brandon Philips
<brandon@ifup.org>
Sun, 5 Nov 2006 03:09:08 +0000
(22:09 -0500)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Sun, 5 Nov 2006 03:09:08 +0000
(22:09 -0500)
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>
drivers/char/keyboard.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/keyboard.c
b/drivers/char/keyboard.c
index 20b6c8b30248f354f4bfcf5b3d6fffbb4a07a112..7a6c1c0b7a95861f9e4a70c4d6dca302491e5987 100644
(file)
--- 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;