summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/clock.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-02 17:10:07 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:38 +0800
commita010bc2b9e2ccc0b59057d4cc136d48a1f7cebcb (patch)
treedee9f11fb15a975c8d85cb5e66d3eed3829ad3fe /arch/arm/mach-ux500/clock.c
parent390e0cfd320b28d6964b92d83d59168a33c28866 (diff)
downloadblackbird-op-linux-a010bc2b9e2ccc0b59057d4cc136d48a1f7cebcb.tar.gz
blackbird-op-linux-a010bc2b9e2ccc0b59057d4cc136d48a1f7cebcb.zip
ARM: ux500: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/clock.c')
-rw-r--r--arch/arm/mach-ux500/clock.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c
index ec35f0aa5665..ce00f5ee14ba 100644
--- a/arch/arm/mach-ux500/clock.c
+++ b/arch/arm/mach-ux500/clock.c
@@ -633,7 +633,7 @@ static int clk_debugfs_register(struct clk *c)
return 0;
}
-static int __init clk_debugfs_init(void)
+int __init clk_debugfs_init(void)
{
struct clk *c;
struct dentry *d;
@@ -655,7 +655,6 @@ err_out:
return err;
}
-late_initcall(clk_debugfs_init);
#endif /* defined(CONFIG_DEBUG_FS) */
unsigned long clk_smp_twd_rate = 500000000;
@@ -694,12 +693,11 @@ static struct notifier_block clk_twd_cpufreq_nb = {
.notifier_call = clk_twd_cpufreq_transition,
};
-static int clk_init_smp_twd_cpufreq(void)
+int clk_init_smp_twd_cpufreq(void)
{
return cpufreq_register_notifier(&clk_twd_cpufreq_nb,
CPUFREQ_TRANSITION_NOTIFIER);
}
-late_initcall(clk_init_smp_twd_cpufreq);
#endif
OpenPOWER on IntegriCloud