diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-06-21 00:17:24 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-21 00:17:24 -0600 |
commit | 16a5d84d57b8f5188796bc9a4c919d50f01b06dc (patch) | |
tree | 4ba28617b19ae4e7b2f4eefda8285b24497a03f5 /include | |
parent | a54d048f22bf3cac9ced02b671aa336fab7eb9e3 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_address.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of_address.h b/include/linux/of_address.h index bdfc20d8ff8..3118623c2c1 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); |