diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-09-16 22:03:24 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 21:04:09 -0400 |
commit | 4acf4b9cd4534aaa9102004937e1ba79da01d008 (patch) | |
tree | 854852a2a8461b095c037e2377809a962c0405b1 /arch | |
parent | 32df8dca503f82c816f8be85a8d0a394a8b88c2c (diff) |
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')
-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; | |||
59 | extern void irq_trans_init(struct device_node *dp); | 59 | extern void irq_trans_init(struct device_node *dp); |
60 | extern char *build_path_component(struct device_node *dp); | 60 | extern char *build_path_component(struct device_node *dp); |
61 | 61 | ||
62 | /* SPARC has local implementations */ | ||
63 | extern int of_address_to_resource(struct device_node *dev, int index, | ||
64 | struct resource *r); | ||
65 | #define of_address_to_resource of_address_to_resource | ||
66 | |||
67 | void __iomem *of_iomap(struct device_node *node, int index); | ||
68 | #define of_iomap of_iomap | ||
69 | |||
70 | #endif /* __KERNEL__ */ | 62 | #endif /* __KERNEL__ */ |
71 | #endif /* _SPARC_PROM_H */ | 63 | #endif /* _SPARC_PROM_H */ |