summaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorPaul Gortmaker2011-10-29 16:17:06 +0200
committerPaul Gortmaker2011-11-01 00:32:28 +0100
commitd0a9940289a74378c19078fac5b9858fd114dff7 (patch)
tree5d9de932697de4403ae5e44958c56b63ee216cbe /include/linux/of.h
parentof_platform.h: delete needless include <linux/module.h> (diff)
downloadkernel-qcow2-linux-d0a9940289a74378c19078fac5b9858fd114dff7.tar.gz
kernel-qcow2-linux-d0a9940289a74378c19078fac5b9858fd114dff7.tar.xz
kernel-qcow2-linux-d0a9940289a74378c19078fac5b9858fd114dff7.zip
of: fix implicit use of errno.h in include/linux/of.h
It shows up as a build failure on MIPS, as it is used in three of_property function stubs. include/linux/of.h:275: error: 'ENOSYS' undeclared (first use in this function) include/linux/of.h:282: error: 'ENOSYS' undeclared (first use in this function) include/linux/of.h:295: error: 'ENOSYS' undeclared (first use in this function) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 5dbe263462a9..c1f5118c59b4 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -23,6 +23,7 @@
#include <linux/spinlock.h>
#include <asm/byteorder.h>
+#include <asm/errno.h>
typedef u32 phandle;
typedef u32 ihandle;