diff options
Diffstat (limited to 'arch/sparc')
| -rw-r--r-- | arch/sparc/include/asm/prom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h index f93003123bce..67c62578d170 100644 --- a/arch/sparc/include/asm/prom.h +++ b/arch/sparc/include/asm/prom.h | |||
| @@ -63,10 +63,13 @@ extern char *of_console_options; | |||
| 63 | extern void irq_trans_init(struct device_node *dp); | 63 | extern void irq_trans_init(struct device_node *dp); |
| 64 | extern char *build_path_component(struct device_node *dp); | 64 | extern char *build_path_component(struct device_node *dp); |
| 65 | 65 | ||
| 66 | /* SPARC has a local implementation */ | 66 | /* SPARC has local implementations */ |
| 67 | extern int of_address_to_resource(struct device_node *dev, int index, | 67 | extern int of_address_to_resource(struct device_node *dev, int index, |
| 68 | struct resource *r); | 68 | struct resource *r); |
| 69 | #define of_address_to_resource of_address_to_resource | 69 | #define of_address_to_resource of_address_to_resource |
| 70 | 70 | ||
| 71 | void __iomem *of_iomap(struct device_node *node, int index); | ||
| 72 | #define of_iomap of_iomap | ||
| 73 | |||
| 71 | #endif /* __KERNEL__ */ | 74 | #endif /* __KERNEL__ */ |
| 72 | #endif /* _SPARC_PROM_H */ | 75 | #endif /* _SPARC_PROM_H */ |
