summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/clock.h
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.h
parent390e0cfd320b28d6964b92d83d59168a33c28866 (diff)
downloadtalos-op-linux-a010bc2b9e2ccc0b59057d4cc136d48a1f7cebcb.tar.gz
talos-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.h')
-rw-r--r--arch/arm/mach-ux500/clock.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/clock.h b/arch/arm/mach-ux500/clock.h
index d776ada08dbf..65d27a13f46d 100644
--- a/arch/arm/mach-ux500/clock.h
+++ b/arch/arm/mach-ux500/clock.h
@@ -150,3 +150,15 @@ struct clk clk_##_name = { \
int __init clk_db8500_ed_fixup(void);
int __init clk_init(void);
+
+#ifdef CONFIG_DEBUG_FS
+int clk_debugfs_init(void);
+#else
+static inline int clk_debugfs_init(void) { return 0; }
+#endif
+
+#ifdef CONFIG_CPU_FREQ
+int clk_init_smp_twd_cpufreq(void);
+#else
+static inline int clk_init_smp_twd_cpufreq(void) { return 0; }
+#endif
OpenPOWER on IntegriCloud