[PATCH 01/10] watchdog: xilinx: Convert driver to the watchdog framework

From
Guenter Roeck <linux@roeck-us.net>
Date
2014-02-09 20:04:01
Also in
linux-watchdog, lkml
Reply to
Michal Simek, 2014-01-31
On 01/31/2014 06:18 AM, Michal Simek wrote:
- Remove uneeded headers, fops functions
- Use xilinx_wdt prefix in start/stop/keepalive functions
   and in new structures

Signed-off-by: Michal Simek <redacted>
Hi Michal,
quoted hunk ↗ jump to hunk
  static int xwdt_probe(struct platform_device *pdev)
  {
  	int rc;
@@ -314,7 +184,7 @@ static int xwdt_probe(struct platform_device *pdev)
  					"xlnx,wdt-enable-once", NULL);
  	if (tmptr == NULL) {
  		pr_warn("Parameter \"xlnx,wdt-enable-once\" not found in device tree!\n");
-		xdev.nowayout = WATCHDOG_NOWAYOUT;
+		watchdog_set_nowayout(&xilinx_wdt_wdd, true);
Sure you want to set this to always true instead of using WATCHDOG_NOWAYOUT ?

Assuming this is what you want:

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

Thanks,
Guenter
Thread (31 messages) 31 messages, 6 authors, last reply 2014-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help