Commit fd105ecf authored by Magnus Damm's avatar Magnus Damm Committed by Simon Horman

ARM: shmobile: Minor cleanup of the Armadillo legacy board code

Cleanup the legacy Armadillo board code slightly by
removing the pointless eva_add_early_devices() function
Signed-off-by: default avatarMagnus Damm <damm+renesas@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent a09b2f0b
...@@ -1299,11 +1299,6 @@ static void __init eva_earlytimer_init(void) ...@@ -1299,11 +1299,6 @@ static void __init eva_earlytimer_init(void)
eva_clock_init(); eva_clock_init();
} }
static void __init eva_add_early_devices(void)
{
r8a7740_add_early_devices();
}
#define RESCNT2 IOMEM(0xe6188020) #define RESCNT2 IOMEM(0xe6188020)
static void eva_restart(enum reboot_mode mode, const char *cmd) static void eva_restart(enum reboot_mode mode, const char *cmd)
{ {
...@@ -1318,7 +1313,7 @@ static const char *eva_boards_compat_dt[] __initdata = { ...@@ -1318,7 +1313,7 @@ static const char *eva_boards_compat_dt[] __initdata = {
DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva") DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva")
.map_io = r8a7740_map_io, .map_io = r8a7740_map_io,
.init_early = eva_add_early_devices, .init_early = r8a7740_add_early_devices,
.init_irq = r8a7740_init_irq_of, .init_irq = r8a7740_init_irq_of,
.init_machine = eva_init, .init_machine = eva_init,
.init_late = shmobile_init_late, .init_late = shmobile_init_late,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment