提交 bf73af23 编写于 作者: P Paul Mundt

sh: heartbeat: Shut up resource size warning.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 ee545051
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册