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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue