diff options
Diffstat (limited to 'arch/sparc/include/asm/of_device.h')
-rw-r--r-- | arch/sparc/include/asm/of_device.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/sparc/include/asm/of_device.h b/arch/sparc/include/asm/of_device.h index f320246a0586..6d1844a547b4 100644 --- a/arch/sparc/include/asm/of_device.h +++ b/arch/sparc/include/asm/of_device.h | |||
@@ -15,15 +15,10 @@ | |||
15 | struct of_device | 15 | struct of_device |
16 | { | 16 | { |
17 | struct device dev; | 17 | struct device dev; |
18 | struct resource resource[PROMREG_MAX]; | 18 | u32 num_resources; |
19 | unsigned int irqs[PROMINTR_MAX]; | 19 | struct resource *resource; |
20 | int num_irqs; | ||
21 | 20 | ||
22 | void *sysdata; | 21 | struct pdev_archdata archdata; |
23 | |||
24 | int slot; | ||
25 | int portid; | ||
26 | int clock_freq; | ||
27 | }; | 22 | }; |
28 | 23 | ||
29 | extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); | 24 | extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); |