diff options
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/s3c2410_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 22715e3be5e7..27af55f193d2 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c | |||
@@ -374,7 +374,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev) | |||
374 | } | 374 | } |
375 | 375 | ||
376 | wdt_base = ioremap(res->start, size); | 376 | wdt_base = ioremap(res->start, size); |
377 | if (wdt_base == 0) { | 377 | if (wdt_base == NULL) { |
378 | dev_err(dev, "failed to ioremap() region\n"); | 378 | dev_err(dev, "failed to ioremap() region\n"); |
379 | ret = -EINVAL; | 379 | ret = -EINVAL; |
380 | goto err_req; | 380 | goto err_req; |