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 bdfdf26..437ea76 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 a65f082..77f0920 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,