sparc/of: Move of_device fields into struct pdev_archdata
[deliverable/linux.git] / arch / sparc / include / asm / device.h
1 /*
2 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */
6 #ifndef _ASM_SPARC_DEVICE_H
7 #define _ASM_SPARC_DEVICE_H
8
9 #include <asm/openprom.h>
10
11 struct device_node;
12 struct of_device;
13
14 struct dev_archdata {
15 void *iommu;
16 void *stc;
17 void *host_controller;
18 struct of_device *op;
19 int numa_node;
20 };
21
22 struct pdev_archdata {
23 struct resource resource[PROMREG_MAX];
24 unsigned int irqs[PROMINTR_MAX];
25 int num_irqs;
26 };
27
28 #endif /* _ASM_SPARC_DEVICE_H */
This page took 0.030834 seconds and 5 git commands to generate.