aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/rc32434_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/rc32434_wdt.c')
-rw-r--r--drivers/watchdog/rc32434_wdt.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c
index 89f326a39b6b..eee29923a14d 100644
--- a/drivers/watchdog/rc32434_wdt.c
+++ b/drivers/watchdog/rc32434_wdt.c
@@ -301,11 +301,17 @@ static int __devexit rc32434_wdt_remove(struct platform_device *pdev)
301 return 0; 301 return 0;
302} 302}
303 303
304static void rc32434_wdt_shutdown(struct platform_device *pdev)
305{
306 rc32434_wdt_stop();
307}
308
304static struct platform_driver rc32434_wdt_driver = { 309static struct platform_driver rc32434_wdt_driver = {
305 .probe = rc32434_wdt_probe, 310 .probe = rc32434_wdt_probe,
306 .remove = __devexit_p(rc32434_wdt_remove), 311 .remove = __devexit_p(rc32434_wdt_remove),
307 .driver = { 312 .shutdown = rc32434_wdt_shutdown,
308 .name = "rc32434_wdt", 313 .driver = {
314 .name = "rc32434_wdt",
309 } 315 }
310}; 316};
311 317