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:
eb97899
)
wakelock.h: fix for v2.6.36
author
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:30:29 +0000
(11:30 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:30:29 +0000
(11:30 +0800)
include/linux/wakelock.h
patch
|
blob
|
history
diff --git
a/include/linux/wakelock.h
b/include/linux/wakelock.h
index a096d24ada1dbaaa6587c133af7004f486bfbed1..492aa649629ab73d98338d050a90d1275c7a1c17 100755
(executable)
--- a/
include/linux/wakelock.h
+++ b/
include/linux/wakelock.h
@@
-72,6
+72,7
@@
int wake_lock_active(struct wake_lock *lock);
* number of jiffies until all active wake locks time out.
*/
long has_wake_lock(int type);
+void print_active_wake_locks(int type);
#else
@@
-84,6
+85,7
@@
static inline void wake_unlock(struct wake_lock *lock) {}
static inline int wake_lock_active(struct wake_lock *lock) { return 0; }
static inline long has_wake_lock(int type) { return 0; }
+static inline void print_active_wake_locks(int type) {}
#endif