Change-Id: Ic880e8ab4199ca93019f38d3bbee2764f95a6c0b
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1391470
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
#ifdef CONFIG_DEBUG_SNAPSHOT_CRASH_KEY
void dbg_snapshot_check_crash_key(unsigned int code, int value);
#else
-#define dbg_snapshot_check_crash_key(a,b) do { } while(0)
+static inline void dbg_snapshot_check_crash_key(unsigned int code, int value)
+{
+ pr_info("KEY %d %s\n", code, value ? "pressed" : "released");
+}
#endif
#ifdef CONFIG_DEBUG_SNAPSHOT_BINDER