Messages in this thread | | | Date | Thu, 14 Feb 2013 00:11:02 +0100 | From | Wim Van Sebroeck <> | Subject | Re: [PATCH v4 5/8] watchdog/at91sam9_wdt: Add nowayout helpers to Watchdog Timer Driver Kernel API |
| |
Hi Wenyou
> diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c > index c6d9f1f..e60a718 100644 > --- a/drivers/watchdog/at91sam9_wdt.c > +++ b/drivers/watchdog/at91sam9_wdt.c > @@ -238,6 +238,8 @@ static int __init at91wdt_probe(struct platform_device *pdev) > return ret; > } > > + watchdog_set_nowayout(&at91wdt_wdd, nowayout); > + > watchdog_init_timeout(&at91wdt_wdd, heartbeat, pdev->dev.of_node); > > ret = at91wdt_enable(&at91wdt_wdd, ms_to_ticks(WDT_HW_TIMEOUT * 1000));
allready part of the patch I just sent you.
Kind regards, Wim.
| |