One comment was missed.
On Mon, Nov 21, 2011 at 05:40:46PM -0800, Mike Turquette wrote: [...]
+struct clk_hw_ops clk_hw_gate_set_enable_ops = {
const?
- .enable = clk_hw_gate_enable_set,
- .disable = clk_hw_gate_disable_clear,
- .recalc_rate = clk_hw_gate_recalc_rate,
- .get_parent = clk_hw_gate_get_parent,
+}; +EXPORT_SYMBOL_GPL(clk_hw_gate_set_enable_ops);
+static int clk_hw_gate_enable_clear(struct clk *clk) +{
- clk_hw_gate_clear_bit(clk);
- return 0;
+}
+static void clk_hw_gate_disable_set(struct clk *clk) +{
- clk_hw_gate_set_bit(clk);
+}
+struct clk_hw_ops clk_hw_gate_set_disable_ops = {
ditto
Regards, Shawn
- .enable = clk_hw_gate_enable_clear,
- .disable = clk_hw_gate_disable_set,
- .recalc_rate = clk_hw_gate_recalc_rate,
- .get_parent = clk_hw_gate_get_parent,
+}; +EXPORT_SYMBOL_GPL(clk_hw_gate_set_disable_ops);