Skip to contentSkip to conversation

backports: define PM_EVENT_AUTO

RFC Superseded Patrick Ziegler 1 participant 1 message Jul 30, 2013

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

RFC 3/8 backports: define PM_EVENT_AUTO

This macro is missing for < 2.6.25

---
 backport/backport-include/linux/pm.h | 4 ++++
 1 file changed, 4 insertions(+)
backport/backport-include/linux/pm.h +4 -0
index 70f3a21..d217c81 100644
@@ -2,6 +2,10 @@
 #define __BACKPORT_PM_H
 #include_next <linux/pm.h>
 
+#ifndef PM_EVENT_AUTO
+#define PM_EVENT_AUTO		0x0400
+#endif
+
 #ifndef PM_EVENT_SLEEP
 #define PM_EVENT_SLEEP  (PM_EVENT_SUSPEND)
 #endif
Signature · 20 lines
1.8.1.2



-- 
Dipl.-Inf. (FH) Patrick Ziegler

University Of Applied Sciences
Kaiserslautern

Amerikastrasse 1
D-66482 Zweibruecken
Germany

Phone:  +49 631 3724 5526
Mail:   [email protected]
PGP KeyID 0xB4796B8C

http://www.fh-kl.de
http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html