diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-06-03 15:24:50 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:56:57 -0400 |
commit | 5fcd294df26e6160f32ea551ef074630b4df728d (patch) | |
tree | 7df26b27b05174eb2a47cfa53891f5b286c5e0e5 /arch/arm/mach-davinci/time.c | |
parent | 1d3bba61f69f447f11aa88e82c5840319962d4cd (diff) |
davinci: remove watchdog from soc_info
watchdog info is not needed in soc_info, platform_device can
be used directly in core code.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/time.c')
-rw-r--r-- | arch/arm/mach-davinci/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/time.c b/arch/arm/mach-davinci/time.c index ca85d1871762..0d1b6d407b46 100644 --- a/arch/arm/mach-davinci/time.c +++ b/arch/arm/mach-davinci/time.c | |||
@@ -406,11 +406,11 @@ struct sys_timer davinci_timer = { | |||
406 | void davinci_watchdog_reset(void) | 406 | void davinci_watchdog_reset(void) |
407 | { | 407 | { |
408 | u32 tgcr, wdtcr; | 408 | u32 tgcr, wdtcr; |
409 | struct davinci_soc_info *soc_info = &davinci_soc_info; | 409 | struct platform_device *pdev = &davinci_wdt_device; |
410 | void __iomem *base = soc_info->wdt_base; | 410 | void __iomem *base = IO_ADDRESS(pdev->resource[0].start); |
411 | struct clk *wd_clk; | 411 | struct clk *wd_clk; |
412 | 412 | ||
413 | wd_clk = clk_get(&davinci_wdt_device.dev, NULL); | 413 | wd_clk = clk_get(&pdev->dev, NULL); |
414 | if (WARN_ON(IS_ERR(wd_clk))) | 414 | if (WARN_ON(IS_ERR(wd_clk))) |
415 | return; | 415 | return; |
416 | clk_enable(wd_clk); | 416 | clk_enable(wd_clk); |