]>
Commit | Line | Data |
---|---|---|
6b884a8d GL |
1 | #ifndef __OF_ADDRESS_H |
2 | #define __OF_ADDRESS_H | |
3 | #include <linux/ioport.h> | |
4 | #include <linux/of.h> | |
5 | ||
dbbdee94 | 6 | extern u64 of_translate_address(struct device_node *np, const u32 *addr); |
1f5bef30 GL |
7 | extern int of_address_to_resource(struct device_node *dev, int index, |
8 | struct resource *r); | |
6b884a8d GL |
9 | extern void __iomem *of_iomap(struct device_node *device, int index); |
10 | ||
11 | #endif /* __OF_ADDRESS_H */ | |
12 |