diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-02-18 14:09:10 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-02-26 14:06:43 +0900 |
commit | 1de83e94e6d4af22614c100b0c69716ab6eaa870 (patch) | |
tree | 9866e8becdbda18388ae1152320baedd7a142b46 /arch/sh/drivers | |
parent | 4377e605e0b004a8d2049eac6cc89fbe1fdcdbb2 (diff) | |
download | blackbird-op-linux-1de83e94e6d4af22614c100b0c69716ab6eaa870.tar.gz blackbird-op-linux-1de83e94e6d4af22614c100b0c69716ab6eaa870.zip |
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')
-rw-r--r-- | arch/sh/drivers/heartbeat.c | 2 |
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) |