diff options
author | viresh kumar <viresh.kumar@st.com> | 2011-05-20 03:34:18 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-20 17:31:40 -0400 |
commit | b997f6e2cba28e5361aaa6ac008f052eccd994e6 (patch) | |
tree | 77970fd7099ff743055ca254d5cdf1b6e75d2db6 /arch/arm/mach-spear3xx/clock.c | |
parent | 16c29dafcc86024048f1dbb8349d31cb22c7c55a (diff) |
ARM: 6926/1: SPEAr clock: Define common clk_init routine in plat/clock.c
Define common clk_init routine in plat/clock.c for calling recalc_root_clocks.
This routine will be used for any common code across all machine families.
Whereas family specific spear*xx_clk_init routines will be used for family
specific code.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-spear3xx/clock.c')
-rw-r--r-- | arch/arm/mach-spear3xx/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-spear3xx/clock.c b/arch/arm/mach-spear3xx/clock.c index 98bc7edc95a6..5707772d51f7 100644 --- a/arch/arm/mach-spear3xx/clock.c +++ b/arch/arm/mach-spear3xx/clock.c | |||
@@ -732,12 +732,12 @@ static struct clk_lookup spear_clk_lookups[] = { | |||
732 | #endif | 732 | #endif |
733 | }; | 733 | }; |
734 | 734 | ||
735 | void __init clk_init(void) | 735 | void __init spear3xx_clk_init(void) |
736 | { | 736 | { |
737 | int i; | 737 | int i; |
738 | 738 | ||
739 | for (i = 0; i < ARRAY_SIZE(spear_clk_lookups); i++) | 739 | for (i = 0; i < ARRAY_SIZE(spear_clk_lookups); i++) |
740 | clk_register(&spear_clk_lookups[i]); | 740 | clk_register(&spear_clk_lookups[i]); |
741 | 741 | ||
742 | recalc_root_clocks(); | 742 | clk_init(); |
743 | } | 743 | } |