aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/drivers/heartbeat.c
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2008-02-18 14:09:10 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-02-26 14:06:43 +0900
commit1de83e94e6d4af22614c100b0c69716ab6eaa870 (patch)
tree9866e8becdbda18388ae1152320baedd7a142b46 /arch/sh/drivers/heartbeat.c
parent4377e605e0b004a8d2049eac6cc89fbe1fdcdbb2 (diff)
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/drivers/heartbeat.c')
-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 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)