From 35d2045f6a73b57287df8c1f226bb0113d9339f1 Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Tue, 14 Jun 2011 11:08:07 -0600 Subject: [PATCH] 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 --- include/linux/of_address.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/of_address.h b/include/linux/of_address.h index 2feda6ee6140..45af1ecdea34 100644 --- a/include/linux/of_address.h +++ b/include/linux/of_address.h @@ -1,6 +1,7 @@ #ifndef __OF_ADDRESS_H #define __OF_ADDRESS_H #include +#include #include extern u64 of_translate_address(struct device_node *np, const __be32 *addr); -- 2.39.5