Commit bf73af23 authored by Paul Mundt's avatar Paul Mundt

sh: heartbeat: Shut up resource size warning.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent ee545051
...@@ -78,7 +78,7 @@ static int heartbeat_drv_probe(struct platform_device *pdev) ...@@ -78,7 +78,7 @@ static int heartbeat_drv_probe(struct platform_device *pdev)
hd->bit_pos[i] = i; 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); setup_timer(&hd->timer, heartbeat_timer, (unsigned long)hd);
platform_set_drvdata(pdev, hd); platform_set_drvdata(pdev, hd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment