diff options
Diffstat (limited to 'arch/arm/mach-davinci/dm365.c')
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index b44b49e2801a..08a61b938333 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -1436,6 +1436,8 @@ int __init dm365_init_video(struct vpfe_config *vpfe_cfg, | |||
1436 | 1436 | ||
1437 | static int __init dm365_init_devices(void) | 1437 | static int __init dm365_init_devices(void) |
1438 | { | 1438 | { |
1439 | int ret = 0; | ||
1440 | |||
1439 | if (!cpu_is_davinci_dm365()) | 1441 | if (!cpu_is_davinci_dm365()) |
1440 | return 0; | 1442 | return 0; |
1441 | 1443 | ||
@@ -1445,6 +1447,10 @@ static int __init dm365_init_devices(void) | |||
1445 | platform_device_register(&dm365_mdio_device); | 1447 | platform_device_register(&dm365_mdio_device); |
1446 | platform_device_register(&dm365_emac_device); | 1448 | platform_device_register(&dm365_emac_device); |
1447 | 1449 | ||
1448 | return 0; | 1450 | ret = davinci_init_wdt(); |
1451 | if (ret) | ||
1452 | pr_warn("%s: watchdog init failed: %d\n", __func__, ret); | ||
1453 | |||
1454 | return ret; | ||
1449 | } | 1455 | } |
1450 | postcore_initcall(dm365_init_devices); | 1456 | postcore_initcall(dm365_init_devices); |