diff options
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/iTCO_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index 6532e7a260d8..0e6c0333f775 100644 --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c | |||
@@ -485,7 +485,7 @@ static int iTCO_wdt_probe(struct platform_device *dev) | |||
485 | iTCO_wdt_watchdog_dev.bootstatus = 0; | 485 | iTCO_wdt_watchdog_dev.bootstatus = 0; |
486 | iTCO_wdt_watchdog_dev.timeout = WATCHDOG_TIMEOUT; | 486 | iTCO_wdt_watchdog_dev.timeout = WATCHDOG_TIMEOUT; |
487 | watchdog_set_nowayout(&iTCO_wdt_watchdog_dev, nowayout); | 487 | watchdog_set_nowayout(&iTCO_wdt_watchdog_dev, nowayout); |
488 | iTCO_wdt_watchdog_dev.parent = dev->dev.parent; | 488 | iTCO_wdt_watchdog_dev.parent = &dev->dev; |
489 | 489 | ||
490 | /* Make sure the watchdog is not running */ | 490 | /* Make sure the watchdog is not running */ |
491 | iTCO_wdt_stop(&iTCO_wdt_watchdog_dev); | 491 | iTCO_wdt_stop(&iTCO_wdt_watchdog_dev); |