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