On Thu 2011-06-23 13:03:54, Cong Wang wrote:
??? 2011???06???23??? 03:49, Rafael J. Wysocki ??????:
quoted
quoted
+#ifdef CONFIG_PM
quoted
+#include<linux/suspend.h>
+#endif
I don't think the #ifdef in necessary. Any dependencies on CONFIG_PM
(or CONFIG_SUSPEND etc.) should be taken care of inside of suspend.h.
This file should be fixed if they aren't.
Ok, please check the updated version below.
Thanks.
Author: Amerigo Wang [off-list ref]
pm: move pm notifiers into suspend.h
Signed-off-by: WANG Cong <redacted>
ACK.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html