summaryrefslogtreecommitdiff
path: root/drivers/watchdog/twl4030_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/twl4030_wdt.c')
-rw-r--r--drivers/watchdog/twl4030_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/twl4030_wdt.c b/drivers/watchdog/twl4030_wdt.c
index 2c1db6fa9..9bf3cc0f3 100644
--- a/drivers/watchdog/twl4030_wdt.c
+++ b/drivers/watchdog/twl4030_wdt.c
@@ -83,6 +83,7 @@ static int twl4030_wdt_probe(struct platform_device *pdev)
wdt->timeout = 30;
wdt->min_timeout = 1;
wdt->max_timeout = 30;
+ wdt->parent = &pdev->dev;
watchdog_set_nowayout(wdt, nowayout);
platform_set_drvdata(pdev, wdt);