diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-08 15:21:04 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-08 15:21:04 -0500 |
commit | 988addf82e4c03739375279de73929580a2d4a6a (patch) | |
tree | 989ae1cd4e264bbad80c65f04480486246e7b9f3 /arch/arm/mach-mx2/clock_imx21.c | |
parent | 004c1c7096659d352b83047a7593e91d8a30e3c5 (diff) | |
parent | 25cf84cf377c0aae5dbcf937ea89bc7893db5176 (diff) |
Merge branch 'origin' into devel-stable
Conflicts:
arch/arm/mach-mx2/devices.c
arch/arm/mach-mx2/devices.h
sound/soc/pxa/pxa-ssp.c
Diffstat (limited to 'arch/arm/mach-mx2/clock_imx21.c')
-rw-r--r-- | arch/arm/mach-mx2/clock_imx21.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-mx2/clock_imx21.c b/arch/arm/mach-mx2/clock_imx21.c index 8974faf9cef0..bb419ef4d133 100644 --- a/arch/arm/mach-mx2/clock_imx21.c +++ b/arch/arm/mach-mx2/clock_imx21.c | |||
@@ -1199,7 +1199,6 @@ static struct clk_lookup lookups[] = { | |||
1199 | */ | 1199 | */ |
1200 | int __init mx21_clocks_init(unsigned long lref, unsigned long href) | 1200 | int __init mx21_clocks_init(unsigned long lref, unsigned long href) |
1201 | { | 1201 | { |
1202 | int i; | ||
1203 | u32 cscr; | 1202 | u32 cscr; |
1204 | 1203 | ||
1205 | external_low_reference = lref; | 1204 | external_low_reference = lref; |
@@ -1217,8 +1216,7 @@ int __init mx21_clocks_init(unsigned long lref, unsigned long href) | |||
1217 | else | 1216 | else |
1218 | spll_clk.parent = &fpm_clk; | 1217 | spll_clk.parent = &fpm_clk; |
1219 | 1218 | ||
1220 | for (i = 0; i < ARRAY_SIZE(lookups); i++) | 1219 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); |
1221 | clkdev_add(&lookups[i]); | ||
1222 | 1220 | ||
1223 | /* Turn off all clock gates */ | 1221 | /* Turn off all clock gates */ |
1224 | __raw_writel(0, CCM_PCCR0); | 1222 | __raw_writel(0, CCM_PCCR0); |