diff options
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r-- | arch/sh/drivers/heartbeat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/heartbeat.c b/arch/sh/drivers/heartbeat.c index 23dd6080422f..10c1828c9ff5 100644 --- a/arch/sh/drivers/heartbeat.c +++ b/arch/sh/drivers/heartbeat.c | |||
@@ -78,7 +78,7 @@ static int heartbeat_drv_probe(struct platform_device *pdev) | |||
78 | hd->bit_pos[i] = i; | 78 | hd->bit_pos[i] = i; |
79 | } | 79 | } |
80 | 80 | ||
81 | hd->base = (void __iomem *)res->start; | 81 | hd->base = (void __iomem *)(unsigned long)res->start; |
82 | 82 | ||
83 | setup_timer(&hd->timer, heartbeat_timer, (unsigned long)hd); | 83 | setup_timer(&hd->timer, heartbeat_timer, (unsigned long)hd); |
84 | platform_set_drvdata(pdev, hd); | 84 | platform_set_drvdata(pdev, hd); |