projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e33f6
)
dt: include linux/errno.h in linux/of_address.h
author
Grant Likely
<grant.likely@secretlab.ca>
Wed, 6 Jul 2011 05:42:37 +0000
(23:42 -0600)
committer
Grant 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
patch
|
blob
|
history
diff --git
a/include/linux/of_address.h
b/include/linux/of_address.h
index bdfc20d8ff84357825d644eb8bd954109cbb7c00..3118623c2c1f39dc624ac5b23e13e86862300ff1 100644
(file)
--- 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);