Commit 0aaae661 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck

[WATCHDOG] rc32434_wdt: add shutdown method

Add shutdown method to the platform driver.
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 08eb2e0c
...@@ -301,9 +301,15 @@ static int __devexit rc32434_wdt_remove(struct platform_device *pdev) ...@@ -301,9 +301,15 @@ static int __devexit rc32434_wdt_remove(struct platform_device *pdev)
return 0; return 0;
} }
static void rc32434_wdt_shutdown(struct platform_device *pdev)
{
rc32434_wdt_stop();
}
static struct platform_driver rc32434_wdt_driver = { static struct platform_driver rc32434_wdt_driver = {
.probe = rc32434_wdt_probe, .probe = rc32434_wdt_probe,
.remove = __devexit_p(rc32434_wdt_remove), .remove = __devexit_p(rc32434_wdt_remove),
.shutdown = rc32434_wdt_shutdown,
.driver = { .driver = {
.name = "rc32434_wdt", .name = "rc32434_wdt",
} }
......
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