]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/drivers/heartbeat.c
sh: heartbeat: ioremap is expected to succeed
[linux-2.6-omap-h63xx.git] / arch / sh / drivers / heartbeat.c
index b76a14f12ce24dfba85431fc551cb292bee7f5ed..ab77b0e0fa0ebea7b0cef65f4fbda8f549b2483c 100644 (file)
@@ -93,7 +93,7 @@ static int heartbeat_drv_probe(struct platform_device *pdev)
        }
 
        hd->base = ioremap_nocache(res->start, res->end - res->start + 1);
-       if (!unlikely(hd->base)) {
+       if (unlikely(!hd->base)) {
                dev_err(&pdev->dev, "ioremap failed\n");
 
                if (!pdev->dev.platform_data)