From: 黄涛 Date: Sat, 2 Apr 2011 07:31:46 +0000 (+0800) Subject: wm831x-on: default use rk29 keypad driver to send wake up key X-Git-Tag: firefly_0821_release~10569 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e418a64850a21cc8300b5fe42b4d1ca9ce7eaeaf;p=firefly-linux-kernel-4.4.55.git wm831x-on: default use rk29 keypad driver to send wake up key --- diff --git a/drivers/input/misc/wm831x-on.c b/drivers/input/misc/wm831x-on.c index 8705da4d30b9..3cc51bb26a15 100755 --- 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