summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/watchdog/orion_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/watchdog/orion_wdt.c')
-rw-r--r--kernel/drivers/watchdog/orion_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/watchdog/orion_wdt.c b/kernel/drivers/watchdog/orion_wdt.c
index ef0c628d5..c6b8f4a43 100644
--- a/kernel/drivers/watchdog/orion_wdt.c
+++ b/kernel/drivers/watchdog/orion_wdt.c
@@ -567,6 +567,7 @@ static int orion_wdt_probe(struct platform_device *pdev)
dev->wdt.timeout = wdt_max_duration;
dev->wdt.max_timeout = wdt_max_duration;
+ dev->wdt.parent = &pdev->dev;
watchdog_init_timeout(&dev->wdt, heartbeat, &pdev->dev);
platform_set_drvdata(pdev, &dev->wdt);