Messages in this thread Patch in this message | | | From | Wenyou Yang <> | Subject | [PATCH 07/11] watchdog/at91sam9_wdt: add nowayout helpers to Watchdog Timer Driver Kernel API | Date | Wed, 14 Nov 2012 15:16:05 +0800 |
| |
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> --- drivers/watchdog/at91sam9_wdt.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index d764f36..187e33f 100644 --- a/drivers/watchdog/at91sam9_wdt.c +++ b/drivers/watchdog/at91sam9_wdt.c @@ -225,6 +225,8 @@ static int __init at91wdt_probe(struct platform_device *pdev) return ret; } + watchdog_set_nowayout(&at91_wddev, nowayout); + ret = watchdog_register_device(&at91_wddev); if (ret) { dev_err(&pdev->dev, "cannot register watchdog (%d)\n", ret); -- 1.7.9.5
| |