projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d4679
)
wm831x-on: default use rk29 keypad driver to send wake up key
author
黄涛
<huangtao@rock-chips.com>
Sat, 2 Apr 2011 07:31:46 +0000
(15:31 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 2 Apr 2011 07:31:46 +0000
(15:31 +0800)
drivers/input/misc/wm831x-on.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/wm831x-on.c
b/drivers/input/misc/wm831x-on.c
index 8705da4d30b9785aa19a5d2fcd62c2c7d0122b16..3cc51bb26a1521577da7b40ccfcee504de1151b9 100755
(executable)
--- a/
drivers/input/misc/wm831x-on.c
+++ b/
drivers/input/misc/wm831x-on.c
@@
-46,6
+46,7
@@
struct wm831x_on {
struct wm831x_on *g_wm831x_on;
+#ifndef CONFIG_KEYS_RK29
void rk28_send_wakeup_key(void)
{
printk("%s\n", __FUNCTION__);
@@
-60,6
+61,7
@@
void rk28_send_wakeup_key(void)
input_sync(g_wm831x_on->dev);
printk("%s end\n", __FUNCTION__);
}
+#endif
#if 1