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-Url: http://git.mmlx.us/?a=commitdiff_plain;h=1de83e94e6d4af22614c100b0c69716ab6eaa870;p=linux-edison.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)