diff options
Diffstat (limited to 'arch/arm/mach-davinci/time.c')
-rw-r--r-- | arch/arm/mach-davinci/time.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/time.c b/arch/arm/mach-davinci/time.c index faafb897f4bd..f80ae25a52e4 100644 --- a/arch/arm/mach-davinci/time.c +++ b/arch/arm/mach-davinci/time.c | |||
@@ -35,8 +35,6 @@ | |||
35 | static struct clock_event_device clockevent_davinci; | 35 | static struct clock_event_device clockevent_davinci; |
36 | static unsigned int davinci_clock_tick_rate; | 36 | static unsigned int davinci_clock_tick_rate; |
37 | 37 | ||
38 | #define DAVINCI_WDOG_BASE (IO_PHYS + 0x21C00) | ||
39 | |||
40 | /* | 38 | /* |
41 | * This driver configures the 2 64-bit count-up timers as 4 independent | 39 | * This driver configures the 2 64-bit count-up timers as 4 independent |
42 | * 32-bit count-up timers used as follows: | 40 | * 32-bit count-up timers used as follows: |
@@ -343,7 +341,8 @@ struct sys_timer davinci_timer = { | |||
343 | void davinci_watchdog_reset(void) | 341 | void davinci_watchdog_reset(void) |
344 | { | 342 | { |
345 | u32 tgcr, wdtcr; | 343 | u32 tgcr, wdtcr; |
346 | void __iomem *base = IO_ADDRESS(DAVINCI_WDOG_BASE); | 344 | struct davinci_soc_info *soc_info = &davinci_soc_info; |
345 | void __iomem *base = soc_info->wdt_base; | ||
347 | struct clk *wd_clk; | 346 | struct clk *wd_clk; |
348 | 347 | ||
349 | wd_clk = clk_get(&davinci_wdt_device.dev, NULL); | 348 | wd_clk = clk_get(&davinci_wdt_device.dev, NULL); |