diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 00:01:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 00:01:02 +0100 |
commit | ecdca043ebe8e3172e0400d0966831e2e60870a0 (patch) | |
tree | c1433e2399f544970e1f9ae7a469dbc9172c8e9f /arch/sparc/include/asm/prom.h | |
parent | Documentation: Fixes a term's translation in Documentation/zh_CN/arm64/memory... (diff) | |
parent | Linux 3.7-rc5 (diff) | |
download | linux-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.h | 5 |
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 */ |