mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
sh: heartbeat: Shut up resource size warning.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
ee54505199
commit
bf73af2314
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user