summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2008-02-18 16:09:10 +0300
committerPaul Mundt <lethal@linux-sh.org>2008-02-26 08:06:43 +0300
commit1de83e94e6d4af22614c100b0c69716ab6eaa870 (patch)
tree9866e8becdbda18388ae1152320baedd7a142b46 /arch/sh
parent4377e605e0b004a8d2049eac6cc89fbe1fdcdbb2 (diff)
downloadlinux-1de83e94e6d4af22614c100b0c69716ab6eaa870.tar.xz
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/drivers/heartbeat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/heartbeat.c b/arch/sh/drivers/heartbeat.c
index b76a14f12ce2..ab77b0e0fa0e 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)