From: Paul Gortmaker Date: Sat, 29 Oct 2011 14:17:06 +0000 (-0400) Subject: of: fix implicit use of errno.h in include/linux/of.h X-Git-Tag: v3.2-rc1~22^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0a9940289a74378c19078fac5b9858fd114dff7;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 --- 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 #include +#include typedef u32 phandle; typedef u32 ihandle;