summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-07-05 23:42:37 -0600
committerGrant Likely <grant.likely@secretlab.ca>2011-07-18 16:37:45 -0600
commit99ce39e359fa29e4b609a6a13485e7573eda5dfb (patch)
tree16ef77877ebc3027ed68fb4672e16a0d8a50668b
parent90e33f62e027d330485d03598e1b2d8db3ff031c (diff)
downloadlinux-99ce39e359fa29e4b609a6a13485e7573eda5dfb.tar.gz
linux-99ce39e359fa29e4b609a6a13485e7573eda5dfb.tar.bz2
linux-99ce39e359fa29e4b609a6a13485e7573eda5dfb.zip
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>
-rw-r--r--include/linux/of_address.h1
1 files changed, 1 insertions, 0 deletions
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 <linux/ioport.h>
+#include <linux/errno.h>
#include <linux/of.h>
extern u64 of_translate_address(struct device_node *np, const __be32 *addr);