clk: ti: gate: export gate_clk_ops locally
authorTero Kristo <t-kristo@ti.com>
Thu, 9 Feb 2017 09:10:19 +0000 (11:10 +0200)
committerTero Kristo <t-kristo@ti.com>
Wed, 8 Mar 2017 11:05:03 +0000 (13:05 +0200)
These are going to be used by the clkctrl support that will be introduced
later.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
drivers/clk/ti/clock.h
drivers/clk/ti/gate.c

index bdfdf26c9ebd9d10df604bd148c6a1d5c8f1d31b..437ea768f837aa118bd6b8e7569caddf7ab722a4 100644 (file)
@@ -253,6 +253,7 @@ extern const struct clk_hw_omap_ops clkhwops_am35xx_ipss_wait;
 
 extern const struct clk_ops ti_clk_divider_ops;
 extern const struct clk_ops ti_clk_mux_ops;
+extern const struct clk_ops omap_gate_clk_ops;
 
 void omap2_init_clk_clkdm(struct clk_hw *hw);
 int omap2_clkops_enable_clkdm(struct clk_hw *hw);
index a65f0827f60567db9db075910e1b8078ec68ac12..77f0920e12f1e104a8426131a30405105c7283ad 100644 (file)
@@ -35,7 +35,7 @@ static const struct clk_ops omap_gate_clkdm_clk_ops = {
        .disable        = &omap2_clkops_disable_clkdm,
 };
 
-static const struct clk_ops omap_gate_clk_ops = {
+const struct clk_ops omap_gate_clk_ops = {
        .init           = &omap2_init_clk_clkdm,
        .enable         = &omap2_dflt_clk_enable,
        .disable        = &omap2_dflt_clk_disable,