]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/linux/of_address.h
of/address: Merge all of the bus translation code
[net-next-2.6.git] / include / linux / of_address.h
CommitLineData
6b884a8d
GL
1#ifndef __OF_ADDRESS_H
2#define __OF_ADDRESS_H
3#include <linux/ioport.h>
4#include <linux/of.h>
5
dbbdee94 6extern u64 of_translate_address(struct device_node *np, const u32 *addr);
1f5bef30
GL
7extern int of_address_to_resource(struct device_node *dev, int index,
8 struct resource *r);
6b884a8d
GL
9extern void __iomem *of_iomap(struct device_node *device, int index);
10
11#endif /* __OF_ADDRESS_H */
12