TP_SUSPEND: mod compiler warning
authoryj <yangjie@rock-chips.com>
Sat, 29 Mar 2014 13:12:09 +0000 (21:12 +0800)
committeryj <yangjie@rock-chips.com>
Sat, 29 Mar 2014 13:12:09 +0000 (21:12 +0800)
drivers/input/touchscreen/tp_suspend.h

index 4ea2322033af2e5df7b2dcf0842eec4b2245bf11..68e3d58fec17650596a057c876c45da51ce23606 100644 (file)
@@ -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