]> git.karo-electronics.de Git - karo-tx-linux.git/blob - include/linux/of_address.h
of/address: merge of_address_to_resource()
[karo-tx-linux.git] / include / linux / of_address.h
1 #ifndef __OF_ADDRESS_H
2 #define __OF_ADDRESS_H
3 #include <linux/ioport.h>
4 #include <linux/of.h>
5
6 extern int __of_address_to_resource(struct device_node *dev, const u32 *addrp,
7                                     u64 size, unsigned int flags,
8                                     struct resource *r);
9 extern int of_address_to_resource(struct device_node *dev, int index,
10                                   struct resource *r);
11 extern void __iomem *of_iomap(struct device_node *device, int index);
12
13 #endif /* __OF_ADDRESS_H */
14