diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2010-12-07 11:16:04 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-14 03:54:19 -0500 |
commit | 2c1f4672f0711e7f23ae49cbb7541088126fe576 (patch) | |
tree | 2e72446f10f1b0a07bbe470c1f24025516f9cfe4 /arch/arm/plat-mxc/system.c | |
parent | a96efbc1fc8e4540dc1d561bb5e42a16a7b472d5 (diff) |
watchdog: imx: use clk_get to acquire the watchdog clock
Use clk_get to acquire the watchdog clock and also avoid hardcoding the clock name.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/system.c')
-rw-r--r-- | arch/arm/plat-mxc/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c index c3972c583840..3455fc0575a6 100644 --- a/arch/arm/plat-mxc/system.c +++ b/arch/arm/plat-mxc/system.c | |||
@@ -55,7 +55,7 @@ void arch_reset(char mode, const char *cmd) | |||
55 | } else { | 55 | } else { |
56 | struct clk *clk; | 56 | struct clk *clk; |
57 | 57 | ||
58 | clk = clk_get_sys("imx-wdt.0", NULL); | 58 | clk = clk_get_sys("imx2-wdt.0", NULL); |
59 | if (!IS_ERR(clk)) | 59 | if (!IS_ERR(clk)) |
60 | clk_enable(clk); | 60 | clk_enable(clk); |
61 | wcr_enable = (1 << 2); | 61 | wcr_enable = (1 << 2); |