diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-09-16 21:03:24 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 20:04:09 -0500 |
commit | 4acf4b9cd4534aaa9102004937e1ba79da01d008 (patch) | |
tree | 854852a2a8461b095c037e2377809a962c0405b1 /arch/sparc | |
parent | 32df8dca503f82c816f8be85a8d0a394a8b88c2c (diff) | |
download | linux-4acf4b9cd4534aaa9102004937e1ba79da01d008.tar.bz2 |
of: move of_address_to_resource and of_iomap declarations from sparc
Move of_address_to_resource and of_iomap declarations to common code. These
only differ on sparc, but the declarations are the same and don't need to
be in arch header.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/prom.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h index 60c8d7bd4058..11ebd659e7b6 100644 --- a/arch/sparc/include/asm/prom.h +++ b/arch/sparc/include/asm/prom.h @@ -59,13 +59,5 @@ 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 local implementations */ -extern int of_address_to_resource(struct device_node *dev, int index, - struct resource *r); -#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 /* _SPARC_PROM_H */ |