summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/clock-imx31.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2010-12-07 14:16:04 -0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-12-14 09:54:19 +0100
commit2c1f4672f0711e7f23ae49cbb7541088126fe576 (patch)
tree2e72446f10f1b0a07bbe470c1f24025516f9cfe4 /arch/arm/mach-mx3/clock-imx31.c
parenta96efbc1fc8e4540dc1d561bb5e42a16a7b472d5 (diff)
downloadlinux-2c1f4672f0711e7f23ae49cbb7541088126fe576.tar.bz2
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/mach-mx3/clock-imx31.c')
-rw-r--r--arch/arm/mach-mx3/clock-imx31.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/clock-imx31.c b/arch/arm/mach-mx3/clock-imx31.c
index 7cf6d29f376b..4193cf5a2637 100644
--- a/arch/arm/mach-mx3/clock-imx31.c
+++ b/arch/arm/mach-mx3/clock-imx31.c
@@ -530,7 +530,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("imx31-cspi.2", NULL, cspi3_clk)
_REGISTER_CLOCK(NULL, "gpt", gpt_clk)
_REGISTER_CLOCK(NULL, "pwm", pwm_clk)
- _REGISTER_CLOCK("imx-wdt.0", NULL, wdog_clk)
+ _REGISTER_CLOCK("imx2-wdt.0", NULL, wdog_clk)
_REGISTER_CLOCK(NULL, "rtc", rtc_clk)
_REGISTER_CLOCK(NULL, "epit", epit1_clk)
_REGISTER_CLOCK(NULL, "epit", epit2_clk)