diff options
-rw-r--r-- | arch/arm/mach-davinci/da830.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-davinci/devices.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm355.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm644x.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 2 | ||||
-rw-r--r-- | drivers/watchdog/davinci_wdt.c | 4 |
10 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c index fb720356d047..115d5736da80 100644 --- a/arch/arm/mach-davinci/da830.c +++ b/arch/arm/mach-davinci/da830.c | |||
@@ -385,7 +385,7 @@ static struct clk_lookup da830_clks[] = { | |||
385 | CLK(NULL, "pll0_sysclk7", &pll0_sysclk7), | 385 | CLK(NULL, "pll0_sysclk7", &pll0_sysclk7), |
386 | CLK("i2c_davinci.1", NULL, &i2c0_clk), | 386 | CLK("i2c_davinci.1", NULL, &i2c0_clk), |
387 | CLK(NULL, "timer0", &timerp64_0_clk), | 387 | CLK(NULL, "timer0", &timerp64_0_clk), |
388 | CLK("watchdog", NULL, &timerp64_1_clk), | 388 | CLK("davinci-wdt", NULL, &timerp64_1_clk), |
389 | CLK(NULL, "arm_rom", &arm_rom_clk), | 389 | CLK(NULL, "arm_rom", &arm_rom_clk), |
390 | CLK(NULL, "scr0_ss", &scr0_ss_clk), | 390 | CLK(NULL, "scr0_ss", &scr0_ss_clk), |
391 | CLK(NULL, "scr1_ss", &scr1_ss_clk), | 391 | CLK(NULL, "scr1_ss", &scr1_ss_clk), |
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 437931746689..2ab00434b2eb 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -443,7 +443,7 @@ static struct clk_lookup da850_clks[] = { | |||
443 | CLK(NULL, "pll1_sysclk3", &pll1_sysclk3), | 443 | CLK(NULL, "pll1_sysclk3", &pll1_sysclk3), |
444 | CLK("i2c_davinci.1", NULL, &i2c0_clk), | 444 | CLK("i2c_davinci.1", NULL, &i2c0_clk), |
445 | CLK(NULL, "timer0", &timerp64_0_clk), | 445 | CLK(NULL, "timer0", &timerp64_0_clk), |
446 | CLK("watchdog", NULL, &timerp64_1_clk), | 446 | CLK("davinci-wdt", NULL, &timerp64_1_clk), |
447 | CLK(NULL, "arm_rom", &arm_rom_clk), | 447 | CLK(NULL, "arm_rom", &arm_rom_clk), |
448 | CLK(NULL, "tpcc0", &tpcc0_clk), | 448 | CLK(NULL, "tpcc0", &tpcc0_clk), |
449 | CLK(NULL, "tptc0", &tptc0_clk), | 449 | CLK(NULL, "tptc0", &tptc0_clk), |
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index d2bc574ae172..ed1928740b5f 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c | |||
@@ -32,7 +32,7 @@ static void __init da8xx_init_irq(void) | |||
32 | 32 | ||
33 | static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { | 33 | static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { |
34 | OF_DEV_AUXDATA("ti,davinci-i2c", 0x01c22000, "i2c_davinci.1", NULL), | 34 | OF_DEV_AUXDATA("ti,davinci-i2c", 0x01c22000, "i2c_davinci.1", NULL), |
35 | OF_DEV_AUXDATA("ti,davinci-wdt", 0x01c21000, "watchdog", NULL), | 35 | OF_DEV_AUXDATA("ti,davinci-wdt", 0x01c21000, "davinci-wdt", NULL), |
36 | OF_DEV_AUXDATA("ti,da830-mmc", 0x01c40000, "da830-mmc.0", NULL), | 36 | OF_DEV_AUXDATA("ti,da830-mmc", 0x01c40000, "da830-mmc.0", NULL), |
37 | OF_DEV_AUXDATA("ti,da850-ehrpwm", 0x01f00000, "ehrpwm", NULL), | 37 | OF_DEV_AUXDATA("ti,da850-ehrpwm", 0x01f00000, "ehrpwm", NULL), |
38 | OF_DEV_AUXDATA("ti,da850-ehrpwm", 0x01f02000, "ehrpwm", NULL), | 38 | OF_DEV_AUXDATA("ti,da850-ehrpwm", 0x01f02000, "ehrpwm", NULL), |
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; |
diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 3996e98f52fb..5cf9a027dcc6 100644 --- a/arch/arm/mach-davinci/devices.c +++ b/arch/arm/mach-davinci/devices.c | |||
@@ -302,7 +302,7 @@ static struct resource wdt_resources[] = { | |||
302 | }; | 302 | }; |
303 | 303 | ||
304 | struct platform_device davinci_wdt_device = { | 304 | struct platform_device davinci_wdt_device = { |
305 | .name = "watchdog", | 305 | .name = "davinci-wdt", |
306 | .id = -1, | 306 | .id = -1, |
307 | .num_resources = ARRAY_SIZE(wdt_resources), | 307 | .num_resources = ARRAY_SIZE(wdt_resources), |
308 | .resource = wdt_resources, | 308 | .resource = wdt_resources, |
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index 4d2c72fb40c4..4668c0e19767 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -375,7 +375,7 @@ static struct clk_lookup dm355_clks[] = { | |||
375 | CLK(NULL, "pwm3", &pwm3_clk), | 375 | CLK(NULL, "pwm3", &pwm3_clk), |
376 | CLK(NULL, "timer0", &timer0_clk), | 376 | CLK(NULL, "timer0", &timer0_clk), |
377 | CLK(NULL, "timer1", &timer1_clk), | 377 | CLK(NULL, "timer1", &timer1_clk), |
378 | CLK("watchdog", NULL, &timer2_clk), | 378 | CLK("davinci-wdt", NULL, &timer2_clk), |
379 | CLK(NULL, "timer3", &timer3_clk), | 379 | CLK(NULL, "timer3", &timer3_clk), |
380 | CLK(NULL, "rto", &rto_clk), | 380 | CLK(NULL, "rto", &rto_clk), |
381 | CLK(NULL, "usb", &usb_clk), | 381 | CLK(NULL, "usb", &usb_clk), |
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index 4117748f290b..b44b49e2801a 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -473,7 +473,7 @@ static struct clk_lookup dm365_clks[] = { | |||
473 | CLK(NULL, "pwm3", &pwm3_clk), | 473 | CLK(NULL, "pwm3", &pwm3_clk), |
474 | CLK(NULL, "timer0", &timer0_clk), | 474 | CLK(NULL, "timer0", &timer0_clk), |
475 | CLK(NULL, "timer1", &timer1_clk), | 475 | CLK(NULL, "timer1", &timer1_clk), |
476 | CLK("watchdog", NULL, &timer2_clk), | 476 | CLK("davinci-wdt", NULL, &timer2_clk), |
477 | CLK(NULL, "timer3", &timer3_clk), | 477 | CLK(NULL, "timer3", &timer3_clk), |
478 | CLK(NULL, "usb", &usb_clk), | 478 | CLK(NULL, "usb", &usb_clk), |
479 | CLK("davinci_emac.1", NULL, &emac_clk), | 479 | CLK("davinci_emac.1", NULL, &emac_clk), |
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c index 7ee73fc588f0..5c3e0be95ef3 100644 --- a/arch/arm/mach-davinci/dm644x.c +++ b/arch/arm/mach-davinci/dm644x.c | |||
@@ -322,7 +322,7 @@ static struct clk_lookup dm644x_clks[] = { | |||
322 | CLK(NULL, "pwm2", &pwm2_clk), | 322 | CLK(NULL, "pwm2", &pwm2_clk), |
323 | CLK(NULL, "timer0", &timer0_clk), | 323 | CLK(NULL, "timer0", &timer0_clk), |
324 | CLK(NULL, "timer1", &timer1_clk), | 324 | CLK(NULL, "timer1", &timer1_clk), |
325 | CLK("watchdog", NULL, &timer2_clk), | 325 | CLK("davinci-wdt", NULL, &timer2_clk), |
326 | CLK(NULL, NULL, NULL), | 326 | CLK(NULL, NULL, NULL), |
327 | }; | 327 | }; |
328 | 328 | ||
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index a6f0536fc209..81768dd47096 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c | |||
@@ -356,7 +356,7 @@ static struct clk_lookup dm646x_clks[] = { | |||
356 | CLK(NULL, "pwm1", &pwm1_clk), | 356 | CLK(NULL, "pwm1", &pwm1_clk), |
357 | CLK(NULL, "timer0", &timer0_clk), | 357 | CLK(NULL, "timer0", &timer0_clk), |
358 | CLK(NULL, "timer1", &timer1_clk), | 358 | CLK(NULL, "timer1", &timer1_clk), |
359 | CLK("watchdog", NULL, &timer2_clk), | 359 | CLK("davinci-wdt", NULL, &timer2_clk), |
360 | CLK("palm_bk3710", NULL, &ide_clk), | 360 | CLK("palm_bk3710", NULL, &ide_clk), |
361 | CLK(NULL, "vpif0", &vpif0_clk), | 361 | CLK(NULL, "vpif0", &vpif0_clk), |
362 | CLK(NULL, "vpif1", &vpif1_clk), | 362 | CLK(NULL, "vpif1", &vpif1_clk), |
diff --git a/drivers/watchdog/davinci_wdt.c b/drivers/watchdog/davinci_wdt.c index dd625cca1ae5..12591f6596ef 100644 --- a/drivers/watchdog/davinci_wdt.c +++ b/drivers/watchdog/davinci_wdt.c | |||
@@ -247,7 +247,7 @@ MODULE_DEVICE_TABLE(of, davinci_wdt_of_match); | |||
247 | 247 | ||
248 | static struct platform_driver platform_wdt_driver = { | 248 | static struct platform_driver platform_wdt_driver = { |
249 | .driver = { | 249 | .driver = { |
250 | .name = "watchdog", | 250 | .name = "davinci-wdt", |
251 | .owner = THIS_MODULE, | 251 | .owner = THIS_MODULE, |
252 | .of_match_table = davinci_wdt_of_match, | 252 | .of_match_table = davinci_wdt_of_match, |
253 | }, | 253 | }, |
@@ -267,4 +267,4 @@ MODULE_PARM_DESC(heartbeat, | |||
267 | __MODULE_STRING(DEFAULT_HEARTBEAT)); | 267 | __MODULE_STRING(DEFAULT_HEARTBEAT)); |
268 | 268 | ||
269 | MODULE_LICENSE("GPL"); | 269 | MODULE_LICENSE("GPL"); |
270 | MODULE_ALIAS("platform:watchdog"); | 270 | MODULE_ALIAS("platform:davinci-wdt"); |