msm: restart: use new restart infrastructure
The hook for the restart function has been moved to the machine
descriptor, so clean this up for appropriate targets.
Change-Id: I00f289bd6af245378d2d5af4a583fa8b8b0bb371
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-9615.c b/arch/arm/mach-msm/board-9615.c
index d5a0857..df114a3 100644
--- a/arch/arm/mach-msm/board-9615.c
+++ b/arch/arm/mach-msm/board-9615.c
@@ -45,6 +45,7 @@
#include <mach/msm_memtypes.h>
#include <mach/cpuidle.h>
#include <mach/usb_bam.h>
+#include <mach/restart.h>
#include "timer.h"
#include "devices.h"
#include "board-9615.h"
@@ -1018,6 +1019,7 @@
#ifdef CONFIG_FB_MSM
.init_early = mdm9615_allocate_memory_regions,
#endif
+ .restart = msm_restart,
MACHINE_END
MACHINE_START(MSM9615_MTP, "QCT MSM9615 MTP")
@@ -1027,4 +1029,5 @@
.timer = &msm_timer,
.init_machine = msm9615_mtp_init,
.reserve = msm9615_reserve,
+ .restart = msm_restart,
MACHINE_END