summaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-29 10:17:06 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:28 -0400
commitd0a9940289a74378c19078fac5b9858fd114dff7 (patch)
tree5d9de932697de4403ae5e44958c56b63ee216cbe /include/linux/of.h
parent7755c47123a927de480826f4448a0c215a639f12 (diff)
downloadop-kernel-dev-d0a9940289a74378c19078fac5b9858fd114dff7.zip
op-kernel-dev-d0a9940289a74378c19078fac5b9858fd114dff7.tar.gz
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 5dbe263..c1f5118 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;
OpenPOWER on IntegriCloud