From: Paul Mundt Date: Fri, 20 Jul 2007 08:35:42 +0000 (+0900) Subject: sh: heartbeat: Shut up resource size warning. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bf73af2314702fcf44fb2a098244e3927f459531;p=linux-beck.git sh: heartbeat: Shut up resource size warning. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/drivers/heartbeat.c b/arch/sh/drivers/heartbeat.c index 23dd6080422f..10c1828c9ff5 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);