summaryrefslogtreecommitdiff
path: root/drivers/watchdog/mena21_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/mena21_wdt.c')
-rw-r--r--drivers/watchdog/mena21_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/mena21_wdt.c b/drivers/watchdog/mena21_wdt.c
index d193a5e79c38..69013007dc47 100644
--- a/drivers/watchdog/mena21_wdt.c
+++ b/drivers/watchdog/mena21_wdt.c
@@ -197,6 +197,7 @@ static int a21_wdt_probe(struct platform_device *pdev)
watchdog_init_timeout(&a21_wdt, 30, &pdev->dev);
watchdog_set_nowayout(&a21_wdt, nowayout);
watchdog_set_drvdata(&a21_wdt, drv);
+ a21_wdt.parent = &pdev->dev;
reset = a21_wdt_get_bootstatus(drv);
if (reset == 2)