]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - arch/sparc/include/asm/prom.h
of/address: sparc: Declare of_address_to_resource() as an extern function for sparc...
[can-eth-gw-linux.git] / arch / sparc / include / asm / prom.h
index c287651107069c58999381ba442bce84f2a6ed1f..f93003123bce01119544ef88b15b3e479fbf92cd 100644 (file)
@@ -63,5 +63,10 @@ extern char *of_console_options;
 extern void irq_trans_init(struct device_node *dp);
 extern char *build_path_component(struct device_node *dp);
 
+/* SPARC has a local implementation */
+extern int of_address_to_resource(struct device_node *dev, int index,
+                                 struct resource *r);
+#define of_address_to_resource of_address_to_resource
+
 #endif /* __KERNEL__ */
 #endif /* _SPARC_PROM_H */