summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/watchdog/davinci_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/watchdog/davinci_wdt.c')
-rw-r--r--kernel/drivers/watchdog/davinci_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/watchdog/davinci_wdt.c b/kernel/drivers/watchdog/davinci_wdt.c
index cfdf8a408..17454ca65 100644
--- a/kernel/drivers/watchdog/davinci_wdt.c
+++ b/kernel/drivers/watchdog/davinci_wdt.c
@@ -179,6 +179,7 @@ static int davinci_wdt_probe(struct platform_device *pdev)
wdd->min_timeout = 1;
wdd->max_timeout = MAX_HEARTBEAT;
wdd->timeout = DEFAULT_HEARTBEAT;
+ wdd->parent = &pdev->dev;
watchdog_init_timeout(wdd, heartbeat, dev);