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>
This commit is contained in:
Paul Gortmaker 2011-10-29 10:17:06 -04:00
parent 7755c47123
commit d0a9940289
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/errno.h>
typedef u32 phandle; typedef u32 phandle;
typedef u32 ihandle; typedef u32 ihandle;