diff options
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/prom_parse.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c index e28968fa34c1..1159ba52ad4a 100644 --- a/arch/microblaze/kernel/prom_parse.c +++ b/arch/microblaze/kernel/prom_parse.c | |||
@@ -681,14 +681,3 @@ const void *of_get_mac_address(struct device_node *np) | |||
681 | return NULL; | 681 | return NULL; |
682 | } | 682 | } |
683 | EXPORT_SYMBOL(of_get_mac_address); | 683 | EXPORT_SYMBOL(of_get_mac_address); |
684 | |||
685 | void __iomem *of_iomap(struct device_node *np, int index) | ||
686 | { | ||
687 | struct resource res; | ||
688 | |||
689 | if (of_address_to_resource(np, index, &res)) | ||
690 | return NULL; | ||
691 | |||
692 | return ioremap(res.start, 1 + res.end - res.start); | ||
693 | } | ||
694 | EXPORT_SYMBOL(of_iomap); | ||