]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
dt: include linux/errno.h in linux/of_address.h
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Jul 2011 05:42:37 +0000 (23:42 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 18 Jul 2011 22:37:45 +0000 (16:37 -0600)
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>
include/linux/of_address.h

index bdfc20d8ff84357825d644eb8bd954109cbb7c00..3118623c2c1f39dc624ac5b23e13e86862300ff1 100644 (file)
@@ -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);