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: MMI-PSA29.97-13-9~18087^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d0a9940289a74378c19078fac5b9858fd114dff7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 5dbe263462a9..c1f5118c59b4 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -23,6 +23,7 @@ #include #include +#include typedef u32 phandle; typedef u32 ihandle;