2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
6 #ifndef _ASM_SPARC_DEVICE_H
7 #define _ASM_SPARC_DEVICE_H
9 #include <asm/openprom.h>
12 struct platform_device;
17 void *host_controller;
18 struct platform_device *op;
22 void of_propagate_archdata(struct platform_device *bus);
24 struct pdev_archdata {
25 struct resource resource[PROMREG_MAX];
26 unsigned int irqs[PROMINTR_MAX];
30 #endif /* _ASM_SPARC_DEVICE_H */