|
@@ -63,10 +63,13 @@ extern char *of_console_options;
|
|
extern void irq_trans_init(struct device_node *dp);
|
|
extern void irq_trans_init(struct device_node *dp);
|
|
extern char *build_path_component(struct device_node *dp);
|
|
extern char *build_path_component(struct device_node *dp);
|
|
|
|
|
|
-/* SPARC has a local implementation */
|
|
|
|
|
|
+/* SPARC has local implementations */
|
|
extern int of_address_to_resource(struct device_node *dev, int index,
|
|
extern int of_address_to_resource(struct device_node *dev, int index,
|
|
struct resource *r);
|
|
struct resource *r);
|
|
#define of_address_to_resource of_address_to_resource
|
|
#define of_address_to_resource of_address_to_resource
|
|
|
|
|
|
|
|
+void __iomem *of_iomap(struct device_node *node, int index);
|
|
|
|
+#define of_iomap of_iomap
|
|
|
|
+
|
|
#endif /* __KERNEL__ */
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _SPARC_PROM_H */
|
|
#endif /* _SPARC_PROM_H */
|