Re: [PATCH v3 4/5] clk: basic gateable and fixed-rate clks

From: Shawn Guo
Date: Sat Nov 26 2011 - 18:57:26 EST


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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/