projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f86035
)
compat: add PMSG_IS_AUTO
author
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 23 Aug 2011 11:38:29 +0000
(13:38 +0200)
committer
Luis R. Rodriguez
<mcgrof@qca.qualcomm.com>
Thu, 25 Aug 2011 19:07:17 +0000
(12:07 -0700)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/linux/compat-3.2.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-3.2.h
b/include/linux/compat-3.2.h
index 9cba4614f2e6ff4f120f8af11bf0d3a078d12664..d10495cc17a68455ab1a0ca9d2566a89555c09f9 100644
(file)
--- a/
include/linux/compat-3.2.h
+++ b/
include/linux/compat-3.2.h
@@
-22,6
+22,8
@@
#define br_port_exists(dev) (dev->br_port)
#endif
+#define PMSG_IS_AUTO(msg) (((msg).event & PM_EVENT_AUTO) != 0)
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)) */
#endif /* LINUX_3_2_COMPAT_H */