With CONFIG_SUSPEND=n I get build errors from at least a couple of
files because of the use of ENOSYS in the stub for pm_suspend().
Should those .c files be forced to include errno.h?  Or should we
have the include in pm.h?  Assuming the latter ...

Signed-off-by: Tony Luck <[EMAIL PROTECTED]>

---

diff --git a/include/linux/pm.h b/include/linux/pm.h
index e52f6f8..a90c020 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -23,6 +23,7 @@
 
 #ifdef __KERNEL__
 
+#include <linux/errno.h>
 #include <linux/list.h>
 #include <asm/atomic.h>
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to