summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/prom.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-15 00:01:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-15 00:01:02 +0100
commitecdca043ebe8e3172e0400d0966831e2e60870a0 (patch)
treec1433e2399f544970e1f9ae7a469dbc9172c8e9f /arch/sparc/include/asm/prom.h
parentDocumentation: Fixes a term's translation in Documentation/zh_CN/arm64/memory... (diff)
parentLinux 3.7-rc5 (diff)
downloadlinux-ecdca043ebe8e3172e0400d0966831e2e60870a0.tar.xz
linux-ecdca043ebe8e3172e0400d0966831e2e60870a0.zip
Merge 3.7-rc5 into driver-core-next
Diffstat (limited to 'arch/sparc/include/asm/prom.h')
-rw-r--r--arch/sparc/include/asm/prom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h
index c28765110706..f93003123bce 100644
--- a/arch/sparc/include/asm/prom.h
+++ b/arch/sparc/include/asm/prom.h
@@ -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 */