]> git.karo-electronics.de Git - mv-sheeva.git/blob - arch/sparc/include/asm/of_device.h
22b9828fe6930ac2807dfe2734a1f33ce2fc3fb7
[mv-sheeva.git] / arch / sparc / include / asm / of_device.h
1 #ifndef _ASM_SPARC_OF_DEVICE_H
2 #define _ASM_SPARC_OF_DEVICE_H
3 #ifdef __KERNEL__
4
5 #include <linux/device.h>
6 #include <linux/of.h>
7 #include <linux/mod_devicetable.h>
8 #include <asm/openprom.h>
9
10 extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
11 extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);
12
13 extern void of_propagate_archdata(struct of_device *bus);
14
15 /* This is just here during the transition */
16 #include <linux/of_platform.h>
17
18 #endif /* __KERNEL__ */
19 #endif /* _ASM_SPARC_OF_DEVICE_H */