public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt: include linux/errno.h in linux/of_address.h
@ 2011-06-14 17:10 Grant Likely
  0 siblings, 0 replies; only message in thread
From: Grant Likely @ 2011-06-14 17:10 UTC (permalink / raw)
  To: devicetree-discuss, linux-kernel

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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/of_address.h b/include/linux/of_address.h
index 4fbea28..b651028 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 int of_address_count(struct device_node *np);


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-14 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14 17:10 [PATCH] dt: include linux/errno.h in linux/of_address.h Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox