From: Alexandru Ardelean <ardeleanalex@gmail.com>
Date: Mon, 10 Apr 2017 15:29:59 +0000 (+0300)
Subject: target: mpc85xx: tl_wdr4900_v1: drop 'fsl_rstcr_restart' hook
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2512741c9a2423203fb54c554ff3cc21ae2cda2d;p=openwrt%2Fstaging%2Fldir.git

target: mpc85xx: tl_wdr4900_v1: drop 'fsl_rstcr_restart' hook

Since commit:
http://github.com/torvalds/linux/commit/7120438e5d82f445acbfe131a1b58eab7e83fa33

Seems that fsl_rstcr_restart() has been converted
to a reset handler and dropped as hook/callback.

Apply the same to the `tl_wdr4900_v1` target.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
---

diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
index 95afa4dae0..1b6dc18ac2 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
+++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
@@ -139,7 +139,6 @@ define_machine(tl_wdr4900_v1) {
 	.pcibios_fixup_bus	= fsl_pcibios_fixup_bus,
 #endif
 	.get_irq		= mpic_get_irq,
-	.restart		= fsl_rstcr_restart,
 	.calibrate_decr		= generic_calibrate_decr,
 	.progress		= udbg_progress,
 };