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/mach-mx5/clock-mx51-mx53.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/mach-mx5/clock-mx51-mx53.c')
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51-mx53.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index b04d54daddb0..ed26de68a996 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c | |||
@@ -1110,8 +1110,8 @@ static struct clk_lookup mx51_lookups[] = { | |||
1110 | _REGISTER_CLOCK("sdhci-esdhc-imx.1", NULL, esdhc2_clk) | 1110 | _REGISTER_CLOCK("sdhci-esdhc-imx.1", NULL, esdhc2_clk) |
1111 | _REGISTER_CLOCK(NULL, "cpu_clk", cpu_clk) | 1111 | _REGISTER_CLOCK(NULL, "cpu_clk", cpu_clk) |
1112 | _REGISTER_CLOCK(NULL, "iim_clk", iim_clk) | 1112 | _REGISTER_CLOCK(NULL, "iim_clk", iim_clk) |
1113 | _REGISTER_CLOCK("imx-wdt.0", NULL, dummy_clk) | 1113 | _REGISTER_CLOCK("imx2-wdt.0", NULL, dummy_clk) |
1114 | _REGISTER_CLOCK("imx-wdt.1", NULL, dummy_clk) | 1114 | _REGISTER_CLOCK("imx2-wdt.1", NULL, dummy_clk) |
1115 | }; | 1115 | }; |
1116 | 1116 | ||
1117 | static struct clk_lookup mx53_lookups[] = { | 1117 | static struct clk_lookup mx53_lookups[] = { |