sh: heartbeat: Shut up resource size warning.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 08:35:42 +0000 (17:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 08:35:42 +0000 (17:35 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/heartbeat.c

index 23dd608..10c1828 100644 (file)
@@ -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);