backports: define PM_EVENT_AUTO
RFC 3/8 backports: define PM_EVENT_AUTO
This macro is missing for < 2.6.25
Signed-off-by Patrick Ziegler <[email protected]>
--- backport/backport-include/linux/pm.h | 4 ++++ 1 file changed, 4 insertions(+)
backport/backport-include/linux/pm.h +4 -0
@@ -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