Commit f5733a1e authored by Russell King's avatar Russell King

ARM: restart: Versatile Express: use new restart hook

Hook the Versatile Express platform restart code into the new restart
hook.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b56a7c6b
...@@ -437,7 +437,6 @@ static void __init v2m_init(void) ...@@ -437,7 +437,6 @@ static void __init v2m_init(void)
amba_device_register(v2m_amba_devs[i], &iomem_resource); amba_device_register(v2m_amba_devs[i], &iomem_resource);
pm_power_off = v2m_power_off; pm_power_off = v2m_power_off;
arm_pm_restart = v2m_restart;
ct_desc->init_tile(); ct_desc->init_tile();
} }
...@@ -449,4 +448,5 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express") ...@@ -449,4 +448,5 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express")
.init_irq = v2m_init_irq, .init_irq = v2m_init_irq,
.timer = &v2m_timer, .timer = &v2m_timer,
.init_machine = v2m_init, .init_machine = v2m_init,
.restart = v2m_restart,
MACHINE_END MACHINE_END
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