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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]