summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/watchdog/twl4030_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/watchdog/twl4030_wdt.c')
-rw-r--r--kernel/drivers/watchdog/twl4030_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/watchdog/twl4030_wdt.c b/kernel/drivers/watchdog/twl4030_wdt.c
index 2c1db6fa9..9bf3cc0f3 100644
--- a/kernel/drivers/watchdog/twl4030_wdt.c
+++ b/kernel/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);