Skip to content

Commit

Permalink
sh: heartbeat: Shut up resource size warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jul 20, 2007
1 parent ee54505 commit bf73af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/drivers/heartbeat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bf73af2

Please sign in to comment.