diff options
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 78829c513fdc..0486cdf28c8d 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c | |||
@@ -389,7 +389,7 @@ static struct resource da8xx_watchdog_resources[] = { | |||
389 | }; | 389 | }; |
390 | 390 | ||
391 | static struct platform_device da8xx_wdt_device = { | 391 | static struct platform_device da8xx_wdt_device = { |
392 | .name = "watchdog", | 392 | .name = "davinci-wdt", |
393 | .id = -1, | 393 | .id = -1, |
394 | .num_resources = ARRAY_SIZE(da8xx_watchdog_resources), | 394 | .num_resources = ARRAY_SIZE(da8xx_watchdog_resources), |
395 | .resource = da8xx_watchdog_resources, | 395 | .resource = da8xx_watchdog_resources, |
@@ -399,7 +399,7 @@ void da8xx_restart(enum reboot_mode mode, const char *cmd) | |||
399 | { | 399 | { |
400 | struct device *dev; | 400 | struct device *dev; |
401 | 401 | ||
402 | dev = bus_find_device_by_name(&platform_bus_type, NULL, "watchdog"); | 402 | dev = bus_find_device_by_name(&platform_bus_type, NULL, "davinci-wdt"); |
403 | if (!dev) { | 403 | if (!dev) { |
404 | pr_err("%s: failed to find watchdog device\n", __func__); | 404 | pr_err("%s: failed to find watchdog device\n", __func__); |
405 | return; | 405 | return; |