aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/devices.c')
-rw-r--r--arch/arm/mach-davinci/devices.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c
index 7a2f8ae89be2..385e8332fc2f 100644
--- a/arch/arm/mach-davinci/devices.c
+++ b/arch/arm/mach-davinci/devices.c
@@ -216,6 +216,8 @@ void __init davinci_setup_mmc(int module, struct davinci_mmc_config *config)
216 216
217static struct resource wdt_resources[] = { 217static struct resource wdt_resources[] = {
218 { 218 {
219 .start = DAVINCI_WDOG_BASE,
220 .end = DAVINCI_WDOG_BASE + SZ_1K - 1,
219 .flags = IORESOURCE_MEM, 221 .flags = IORESOURCE_MEM,
220 }, 222 },
221}; 223};
@@ -229,11 +231,6 @@ struct platform_device davinci_wdt_device = {
229 231
230static void davinci_init_wdt(void) 232static void davinci_init_wdt(void)
231{ 233{
232 struct davinci_soc_info *soc_info = &davinci_soc_info;
233
234 wdt_resources[0].start = (resource_size_t)soc_info->wdt_base;
235 wdt_resources[0].end = (resource_size_t)soc_info->wdt_base + SZ_1K - 1;
236
237 platform_device_register(&davinci_wdt_device); 234 platform_device_register(&davinci_wdt_device);
238} 235}
239 236