diff options
author | Nicolas Pitre <nico@cam.org> | 2009-06-01 13:56:02 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-06-08 13:05:00 -0400 |
commit | 3b937a7dbddbedd9457b33fcc8fa369c0c229c6e (patch) | |
tree | f02422b135326f4212585501744ab2fd2d6fb3e8 /arch | |
parent | 054bd3f053de54c81b20df11f354476389826e61 (diff) |
[ARM] Orion/Kirkwood: rename orion5x_wdt to orion_wdt
The Orion watchdog driver is also used on Kirkwood.
Convention is to use orion5x for stuff specific to 88F5xxx Orion chips
and simply "orion" for shared stuff across SoCs including Kirkwood.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-kirkwood/common.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-orion5x/common.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-orion/include/plat/orion_wdt.h (renamed from arch/arm/plat-orion/include/plat/orion5x_wdt.h) | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index a053184bdee5..3da32b1834dc 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <plat/mvsdio.h> | 30 | #include <plat/mvsdio.h> |
31 | #include <plat/mv_xor.h> | 31 | #include <plat/mv_xor.h> |
32 | #include <plat/orion_nand.h> | 32 | #include <plat/orion_nand.h> |
33 | #include <plat/orion5x_wdt.h> | 33 | #include <plat/orion_wdt.h> |
34 | #include <plat/time.h> | 34 | #include <plat/time.h> |
35 | #include "common.h" | 35 | #include "common.h" |
36 | 36 | ||
@@ -771,12 +771,12 @@ static void __init kirkwood_xor1_init(void) | |||
771 | /***************************************************************************** | 771 | /***************************************************************************** |
772 | * Watchdog | 772 | * Watchdog |
773 | ****************************************************************************/ | 773 | ****************************************************************************/ |
774 | static struct orion5x_wdt_platform_data kirkwood_wdt_data = { | 774 | static struct orion_wdt_platform_data kirkwood_wdt_data = { |
775 | .tclk = 0, | 775 | .tclk = 0, |
776 | }; | 776 | }; |
777 | 777 | ||
778 | static struct platform_device kirkwood_wdt_device = { | 778 | static struct platform_device kirkwood_wdt_device = { |
779 | .name = "orion5x_wdt", | 779 | .name = "orion_wdt", |
780 | .id = -1, | 780 | .id = -1, |
781 | .dev = { | 781 | .dev = { |
782 | .platform_data = &kirkwood_wdt_data, | 782 | .platform_data = &kirkwood_wdt_data, |
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index b1c7778d9f96..c3e2bea2d054 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <plat/ehci-orion.h> | 31 | #include <plat/ehci-orion.h> |
32 | #include <plat/mv_xor.h> | 32 | #include <plat/mv_xor.h> |
33 | #include <plat/orion_nand.h> | 33 | #include <plat/orion_nand.h> |
34 | #include <plat/orion5x_wdt.h> | 34 | #include <plat/orion_wdt.h> |
35 | #include <plat/time.h> | 35 | #include <plat/time.h> |
36 | #include "common.h" | 36 | #include "common.h" |
37 | 37 | ||
@@ -540,12 +540,12 @@ void __init orion5x_xor_init(void) | |||
540 | /***************************************************************************** | 540 | /***************************************************************************** |
541 | * Watchdog | 541 | * Watchdog |
542 | ****************************************************************************/ | 542 | ****************************************************************************/ |
543 | static struct orion5x_wdt_platform_data orion5x_wdt_data = { | 543 | static struct orion_wdt_platform_data orion5x_wdt_data = { |
544 | .tclk = 0, | 544 | .tclk = 0, |
545 | }; | 545 | }; |
546 | 546 | ||
547 | static struct platform_device orion5x_wdt_device = { | 547 | static struct platform_device orion5x_wdt_device = { |
548 | .name = "orion5x_wdt", | 548 | .name = "orion_wdt", |
549 | .id = -1, | 549 | .id = -1, |
550 | .dev = { | 550 | .dev = { |
551 | .platform_data = &orion5x_wdt_data, | 551 | .platform_data = &orion5x_wdt_data, |
diff --git a/arch/arm/plat-orion/include/plat/orion5x_wdt.h b/arch/arm/plat-orion/include/plat/orion_wdt.h index 3c9cf6a305ef..665c362a2fba 100644 --- a/arch/arm/plat-orion/include/plat/orion5x_wdt.h +++ b/arch/arm/plat-orion/include/plat/orion_wdt.h | |||
@@ -1,15 +1,15 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/plat-orion/include/plat/orion5x_wdt.h | 2 | * arch/arm/plat-orion/include/plat/orion_wdt.h |
3 | * | 3 | * |
4 | * This file is licensed under the terms of the GNU General Public | 4 | * This file is licensed under the terms of the GNU General Public |
5 | * License version 2. This program is licensed "as is" without any | 5 | * License version 2. This program is licensed "as is" without any |
6 | * warranty of any kind, whether express or implied. | 6 | * warranty of any kind, whether express or implied. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef __PLAT_ORION5X_WDT_H | 9 | #ifndef __PLAT_ORION_WDT_H |
10 | #define __PLAT_ORION5X_WDT_H | 10 | #define __PLAT_ORION_WDT_H |
11 | 11 | ||
12 | struct orion5x_wdt_platform_data { | 12 | struct orion_wdt_platform_data { |
13 | u32 tclk; /* no <linux/clk.h> support yet */ | 13 | u32 tclk; /* no <linux/clk.h> support yet */ |
14 | }; | 14 | }; |
15 | 15 | ||