summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sirfsoc_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/sirfsoc_wdt.c')
-rw-r--r--drivers/watchdog/sirfsoc_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/sirfsoc_wdt.c b/drivers/watchdog/sirfsoc_wdt.c
index 42fa5c0c5..d0578ab2e 100644
--- a/drivers/watchdog/sirfsoc_wdt.c
+++ b/drivers/watchdog/sirfsoc_wdt.c
@@ -154,6 +154,7 @@ static int sirfsoc_wdt_probe(struct platform_device *pdev)
watchdog_init_timeout(&sirfsoc_wdd, timeout, &pdev->dev);
watchdog_set_nowayout(&sirfsoc_wdd, nowayout);
+ sirfsoc_wdd.parent = &pdev->dev;
ret = watchdog_register_device(&sirfsoc_wdd);
if (ret)