mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[WATCHDOG] rc32434_wdt: add shutdown method
Add shutdown method to the platform driver. Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
08eb2e0c08
commit
0aaae66179
1 changed files with 10 additions and 4 deletions
|
|
@ -301,11 +301,17 @@ static int __devexit rc32434_wdt_remove(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void rc32434_wdt_shutdown(struct platform_device *pdev)
|
||||
{
|
||||
rc32434_wdt_stop();
|
||||
}
|
||||
|
||||
static struct platform_driver rc32434_wdt_driver = {
|
||||
.probe = rc32434_wdt_probe,
|
||||
.remove = __devexit_p(rc32434_wdt_remove),
|
||||
.driver = {
|
||||
.name = "rc32434_wdt",
|
||||
.probe = rc32434_wdt_probe,
|
||||
.remove = __devexit_p(rc32434_wdt_remove),
|
||||
.shutdown = rc32434_wdt_shutdown,
|
||||
.driver = {
|
||||
.name = "rc32434_wdt",
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue