From: yj Date: Sat, 29 Mar 2014 13:12:09 +0000 (+0800) Subject: TP_SUSPEND: mod compiler warning X-Git-Tag: firefly_0821_release~5721 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=91e4ee6d052f27c6ae935dfa6fcbeac17e40ac33;p=firefly-linux-kernel-4.4.55.git TP_SUSPEND: mod compiler warning --- diff --git a/drivers/input/touchscreen/tp_suspend.h b/drivers/input/touchscreen/tp_suspend.h index 4ea2322033af..68e3d58fec17 100644 --- a/drivers/input/touchscreen/tp_suspend.h +++ b/drivers/input/touchscreen/tp_suspend.h @@ -56,7 +56,7 @@ static int fb_notifier_callback(struct notifier_block *self, if (ret < 0) { - printk("TP_notifier_callback error action=%x,blank_mode=%x\n",action,blank_mode); + printk("TP_notifier_callback error action=%x,blank_mode=%x\n",(int)action,blank_mode); return ret; } @@ -76,4 +76,4 @@ static void tp_unregister_fb(struct tp_device *tp) { fb_unregister_client(&tp->fb_notif); } -#endif _RK_TP_SUSPEND_H +#endif