summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.h
diff options
context:
space:
mode:
authorTero Kristo2014-10-22 14:15:36 +0200
committerTero Kristo2015-03-27 09:53:30 +0100
commit9f029b1579b2dfe291006e5bfe8e7d0c4ef20828 (patch)
treeba0f8c8e987ebf637a8f87df83c38606e018365f /arch/arm/mach-omap2/clock.h
parentARM: OMAP2+: PRCM: add support for static clock memmap indices (diff)
downloadkernel-qcow2-linux-9f029b1579b2dfe291006e5bfe8e7d0c4ef20828.tar.gz
kernel-qcow2-linux-9f029b1579b2dfe291006e5bfe8e7d0c4ef20828.tar.xz
kernel-qcow2-linux-9f029b1579b2dfe291006e5bfe8e7d0c4ef20828.zip
ARM: OMAP2+: clock: move clock provider infrastructure to clock driver
Splits the clock provider init out of the PRM driver and moves it to clock driver. This is needed so that once the PRCM drivers are separated, they can logically just access the clock driver not needing to go through common PRM code. This would be wrong in the case of control module for example. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
-rw-r--r--arch/arm/mach-omap2/clock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
index a56742f96000..b6433fc284ce 100644
--- a/arch/arm/mach-omap2/clock.h
+++ b/arch/arm/mach-omap2/clock.h
@@ -271,10 +271,12 @@ extern const struct clksel_rate div_1_3_rates[];
extern const struct clksel_rate div_1_4_rates[];
extern const struct clksel_rate div31_1to31_rates[];
-extern void __iomem *clk_memmaps[];
-
extern int omap2_clkops_enable_clkdm(struct clk_hw *hw);
extern void omap2_clkops_disable_clkdm(struct clk_hw *hw);
+int __init omap2_clk_provider_init(struct device_node *np, int index,
+ void __iomem *mem);
+void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem);
+
void __init ti_clk_init_features(void);
#endif