From: Roel Kluin <12o3l@tiscali.nl> Date: Mon, 18 Feb 2008 13:09:10 +0000 (+0100) Subject: sh: heartbeat: ioremap is expected to succeed X-Git-Tag: v2.6.25-rc4~147^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1de83e94e6d4af22614c100b0c69716ab6eaa870;p=linux-2.6-omap-h63xx.git sh: heartbeat: ioremap is expected to succeed ioremap is expected to succeed Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Paul Mundt --- diff --git a/arch/sh/drivers/heartbeat.c b/arch/sh/drivers/heartbeat.c index b76a14f12ce..ab77b0e0fa0 100644 --- a/arch/sh/drivers/heartbeat.c +++ b/arch/sh/drivers/heartbeat.c @@ -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)