projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4377e60
)
sh: heartbeat: ioremap is expected to succeed
author
Roel Kluin
<12o3l@tiscali.nl>
Mon, 18 Feb 2008 13:09:10 +0000
(14:09 +0100)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 26 Feb 2008 05:06:43 +0000
(14:06 +0900)
ioremap is expected to succeed
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/heartbeat.c
patch
|
blob
|
history
diff --git
a/arch/sh/drivers/heartbeat.c
b/arch/sh/drivers/heartbeat.c
index
b76a14f
..
ab77b0e
100644
(file)
--- 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)