diff options
Diffstat (limited to 'arch/arm/plat-spear')
-rw-r--r-- | arch/arm/plat-spear/clock.c | 5 | ||||
-rw-r--r-- | arch/arm/plat-spear/include/plat/clock.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-spear/clock.c b/arch/arm/plat-spear/clock.c index bdbd7ec9cb6b..6fa474cb398e 100644 --- a/arch/arm/plat-spear/clock.c +++ b/arch/arm/plat-spear/clock.c | |||
@@ -903,6 +903,11 @@ void recalc_root_clocks(void) | |||
903 | spin_unlock_irqrestore(&clocks_lock, flags); | 903 | spin_unlock_irqrestore(&clocks_lock, flags); |
904 | } | 904 | } |
905 | 905 | ||
906 | void __init clk_init(void) | ||
907 | { | ||
908 | recalc_root_clocks(); | ||
909 | } | ||
910 | |||
906 | #ifdef CONFIG_DEBUG_FS | 911 | #ifdef CONFIG_DEBUG_FS |
907 | /* | 912 | /* |
908 | * debugfs support to trace clock tree hierarchy and attributes | 913 | * debugfs support to trace clock tree hierarchy and attributes |
diff --git a/arch/arm/plat-spear/include/plat/clock.h b/arch/arm/plat-spear/include/plat/clock.h index fcc0d0ad4a1f..0062bafef12d 100644 --- a/arch/arm/plat-spear/include/plat/clock.h +++ b/arch/arm/plat-spear/include/plat/clock.h | |||
@@ -224,6 +224,7 @@ struct clcd_rate_tbl { | |||
224 | }; | 224 | }; |
225 | 225 | ||
226 | /* platform specific clock functions */ | 226 | /* platform specific clock functions */ |
227 | void __init clk_init(void); | ||
227 | void clk_register(struct clk_lookup *cl); | 228 | void clk_register(struct clk_lookup *cl); |
228 | void recalc_root_clocks(void); | 229 | void recalc_root_clocks(void); |
229 | 230 | ||