1 #ifndef _ASM_SPARC_OF_DEVICE_H
2 #define _ASM_SPARC_OF_DEVICE_H
5 #include <linux/device.h>
7 #include <linux/mod_devicetable.h>
8 #include <asm/openprom.h>
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);
13 extern void of_propagate_archdata(struct of_device *bus);
15 /* This is just here during the transition */
16 #include <linux/of_platform.h>
18 #endif /* __KERNEL__ */
19 #endif /* _ASM_SPARC_OF_DEVICE_H */