summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/watchdog/retu_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/watchdog/retu_wdt.c')
-rw-r--r--kernel/drivers/watchdog/retu_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/watchdog/retu_wdt.c b/kernel/drivers/watchdog/retu_wdt.c
index b7c68e275..39cd51df2 100644
--- a/kernel/drivers/watchdog/retu_wdt.c
+++ b/kernel/drivers/watchdog/retu_wdt.c
@@ -127,6 +127,7 @@ static int retu_wdt_probe(struct platform_device *pdev)
retu_wdt->timeout = RETU_WDT_MAX_TIMER;
retu_wdt->min_timeout = 0;
retu_wdt->max_timeout = RETU_WDT_MAX_TIMER;
+ retu_wdt->parent = &pdev->dev;
watchdog_set_drvdata(retu_wdt, wdev);
watchdog_set_nowayout(retu_wdt, nowayout);