aboutsummaryrefslogtreecommitdiff
path: root/include/linux/of_address.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/of_address.h')
-rw-r--r--include/linux/of_address.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/of_address.h b/include/linux/of_address.h
index 570831d7e79..474b794ed9d 100644
--- a/include/linux/of_address.h
+++ b/include/linux/of_address.h
@@ -3,6 +3,11 @@
#include <linux/ioport.h>
#include <linux/of.h>
+extern int __of_address_to_resource(struct device_node *dev, const u32 *addrp,
+ u64 size, unsigned int flags,
+ struct resource *r);
+extern int of_address_to_resource(struct device_node *dev, int index,
+ struct resource *r);
extern void __iomem *of_iomap(struct device_node *device, int index);
#endif /* __OF_ADDRESS_H */