aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/device.h')
-rw-r--r--arch/sparc/include/asm/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/device.h b/arch/sparc/include/asm/device.h
index d4c45214741..f9740d065fe 100644
--- a/arch/sparc/include/asm/device.h
+++ b/arch/sparc/include/asm/device.h
@@ -6,6 +6,8 @@
6#ifndef _ASM_SPARC_DEVICE_H 6#ifndef _ASM_SPARC_DEVICE_H
7#define _ASM_SPARC_DEVICE_H 7#define _ASM_SPARC_DEVICE_H
8 8
9#include <asm/openprom.h>
10
9struct device_node; 11struct device_node;
10struct of_device; 12struct of_device;
11 13
@@ -18,6 +20,9 @@ struct dev_archdata {
18}; 20};
19 21
20struct pdev_archdata { 22struct pdev_archdata {
23 struct resource resource[PROMREG_MAX];
24 unsigned int irqs[PROMINTR_MAX];
25 int num_irqs;
21}; 26};
22 27
23#endif /* _ASM_SPARC_DEVICE_H */ 28#endif /* _ASM_SPARC_DEVICE_H */