diff options
Diffstat (limited to 'arch/sparc/include/asm/device.h')
-rw-r--r-- | arch/sparc/include/asm/device.h | 5 |
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 | |||
9 | struct device_node; | 11 | struct device_node; |
10 | struct of_device; | 12 | struct of_device; |
11 | 13 | ||
@@ -18,6 +20,9 @@ struct dev_archdata { | |||
18 | }; | 20 | }; |
19 | 21 | ||
20 | struct pdev_archdata { | 22 | struct 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 */ |