Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
include/linux/of.h
··· 23 23 #include <linux/spinlock.h> 24 24 25 25 #include <asm/byteorder.h> 26 + #include <asm/errno.h> 26 27 27 28 typedef u32 phandle; 28 29 typedef u32 ihandle;