From: Grant Likely Date: Wed, 6 Jul 2011 05:42:37 +0000 (-0600) Subject: dt: include linux/errno.h in linux/of_address.h X-Git-Tag: MMI-PSA29.97-13-9~18924^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99ce39e359fa29e4b609a6a13485e7573eda5dfb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- diff --git a/include/linux/of_address.h b/include/linux/of_address.h index bdfc20d8ff84..3118623c2c1f 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);