summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/watchdog/wm8350_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/watchdog/wm8350_wdt.c')
-rw-r--r--kernel/drivers/watchdog/wm8350_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/watchdog/wm8350_wdt.c b/kernel/drivers/watchdog/wm8350_wdt.c
index 34d272ada..4ab4b8347 100644
--- a/kernel/drivers/watchdog/wm8350_wdt.c
+++ b/kernel/drivers/watchdog/wm8350_wdt.c
@@ -151,6 +151,7 @@ static int wm8350_wdt_probe(struct platform_device *pdev)
watchdog_set_nowayout(&wm8350_wdt, nowayout);
watchdog_set_drvdata(&wm8350_wdt, wm8350);
+ wm8350_wdt.parent = &pdev->dev;
/* Default to 4s timeout */
wm8350_wdt_set_timeout(&wm8350_wdt, 4);