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

dt: include linux/errno.h in linux/of_address.h

of_address.h makes reference to some of the error code #defines, so it
needs to include errno.h. If CONFIG_PCI is not selected, then some files
will fail to compile.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

+1
+1
include/linux/of_address.h
··· 1 1 #ifndef __OF_ADDRESS_H 2 2 #define __OF_ADDRESS_H 3 3 #include <linux/ioport.h> 4 + #include <linux/errno.h> 4 5 #include <linux/of.h> 5 6 6 7 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);