diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 17:35:42 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 17:35:42 +0900 |
commit | bf73af2314702fcf44fb2a098244e3927f459531 (patch) | |
tree | 998ba544052acd7dffaaa3e0c1e9257043591e8f /arch/sh | |
parent | ee54505199ad0d5819c613a68746d425a08fdc8f (diff) | |
download | linux-3.10-bf73af2314702fcf44fb2a098244e3927f459531.tar.gz linux-3.10-bf73af2314702fcf44fb2a098244e3927f459531.tar.bz2 linux-3.10-bf73af2314702fcf44fb2a098244e3927f459531.zip |
sh: heartbeat: Shut up resource size warning.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-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 23dd6080422..10c1828c9ff 100644 --- a/arch/sh/drivers/heartbeat.c +++ b/arch/sh/drivers/heartbeat.c @@ -78,7 +78,7 @@ static int heartbeat_drv_probe(struct platform_device *pdev) hd->bit_pos[i] = i; } - hd->base = (void __iomem *)res->start; + hd->base = (void __iomem *)(unsigned long)res->start; setup_timer(&hd->timer, heartbeat_timer, (unsigned long)hd); platform_set_drvdata(pdev, hd); |