]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt: include linux/errno.h in linux/of_address.h
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 14 Jun 2011 17:08:07 +0000 (11:08 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 14 Jun 2011 17:11:15 +0000 (11:11 -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 2feda6ee6140a52dcd589f0ac597ffe8d17db339..45af1ecdea348cb4da20932ba636793de80d23ed 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);