|
@@ -730,6 +730,11 @@ static void tnetv107x_watchdog_reset(struct platform_device *pdev)
|
|
|
__raw_writel(1, ®s->kick);
|
|
|
}
|
|
|
|
|
|
+void tnetv107x_restart(char mode, const char *cmd)
|
|
|
+{
|
|
|
+ tnetv107x_watchdog_reset(&tnetv107x_wdt_device);
|
|
|
+}
|
|
|
+
|
|
|
static struct davinci_soc_info tnetv107x_soc_info = {
|
|
|
.io_desc = io_desc,
|
|
|
.io_desc_num = ARRAY_SIZE(io_desc),
|
|
@@ -752,8 +757,6 @@ static struct davinci_soc_info tnetv107x_soc_info = {
|
|
|
.gpio_num = TNETV107X_N_GPIO,
|
|
|
.timer_info = &timer_info,
|
|
|
.serial_dev = &tnetv107x_serial_device,
|
|
|
- .reset = tnetv107x_watchdog_reset,
|
|
|
- .reset_device = &tnetv107x_wdt_device,
|
|
|
};
|
|
|
|
|
|
void __init tnetv107x_init(void)
|