summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/im28wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/im28wd.c')
-rw-r--r--drivers/watchdog/im28wd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/im28wd.c b/drivers/watchdog/im28wd.c
index a9093a7b51..3510776a3a 100644
--- a/drivers/watchdog/im28wd.c
+++ b/drivers/watchdog/im28wd.c
@@ -197,6 +197,7 @@ static int imx28_wd_probe(struct device_d *dev)
if (IS_ERR(priv->regs))
return PTR_ERR(priv->regs);
priv->wd.set_timeout = imx28_watchdog_set_timeout;
+ priv->wd.dev = dev;
if (!(readl(priv->regs + MXS_RTC_STAT) & MXS_RTC_STAT_WD_PRESENT)) {
rc = -ENODEV;