diff options
-rw-r--r-- | drivers/watchdog/qcom-wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c index 5796b5d1b3f2..4f47b5e90956 100644 --- a/drivers/watchdog/qcom-wdt.c +++ b/drivers/watchdog/qcom-wdt.c | |||
@@ -209,7 +209,7 @@ static int qcom_wdt_probe(struct platform_device *pdev) | |||
209 | wdt->wdd.parent = &pdev->dev; | 209 | wdt->wdd.parent = &pdev->dev; |
210 | wdt->layout = regs; | 210 | wdt->layout = regs; |
211 | 211 | ||
212 | if (readl(wdt->base + WDT_STS) & 1) | 212 | if (readl(wdt_addr(wdt, WDT_STS)) & 1) |
213 | wdt->wdd.bootstatus = WDIOF_CARDRESET; | 213 | wdt->wdd.bootstatus = WDIOF_CARDRESET; |
214 | 214 | ||
215 | /* | 215 | /* |