diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-02-11 12:07:11 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-02-11 14:33:04 -0500 |
commit | 08bb3adfd3adeb4653095e7968b6a46cef940404 (patch) | |
tree | db6c3002547bfb5af81fe6a143c10fc492b860ff | |
parent | a8cacc0a45f7d81e6ff1cfe92d38372c0718df9b (diff) |
ARM: mvebu: remove unneeded ->map_io field for Armada 370/XP
The ->map_io() implementation of Armada 370/XP simply calls
debug_ll_io_init(), which is exactly what the kernel does when
->map_io is NULL. Therefore, there is no need to have a specific
->map_io() implementation in Armada 370/XP.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index f6c9d1d85c14..161cf2f54220 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c | |||
@@ -31,11 +31,6 @@ | |||
31 | #include "coherency.h" | 31 | #include "coherency.h" |
32 | #include "mvebu-soc-id.h" | 32 | #include "mvebu-soc-id.h" |
33 | 33 | ||
34 | static void __init armada_370_xp_map_io(void) | ||
35 | { | ||
36 | debug_ll_io_init(); | ||
37 | } | ||
38 | |||
39 | static void __init armada_370_xp_timer_and_clk_init(void) | 34 | static void __init armada_370_xp_timer_and_clk_init(void) |
40 | { | 35 | { |
41 | of_clk_init(NULL); | 36 | of_clk_init(NULL); |
@@ -90,7 +85,6 @@ static const char * const armada_370_xp_dt_compat[] = { | |||
90 | DT_MACHINE_START(ARMADA_XP_DT, "Marvell Armada 370/XP (Device Tree)") | 85 | DT_MACHINE_START(ARMADA_XP_DT, "Marvell Armada 370/XP (Device Tree)") |
91 | .smp = smp_ops(armada_xp_smp_ops), | 86 | .smp = smp_ops(armada_xp_smp_ops), |
92 | .init_machine = armada_370_xp_dt_init, | 87 | .init_machine = armada_370_xp_dt_init, |
93 | .map_io = armada_370_xp_map_io, | ||
94 | .init_time = armada_370_xp_timer_and_clk_init, | 88 | .init_time = armada_370_xp_timer_and_clk_init, |
95 | .restart = mvebu_restart, | 89 | .restart = mvebu_restart, |
96 | .dt_compat = armada_370_xp_dt_compat, | 90 | .dt_compat = armada_370_xp_dt_compat, |