Re: [PATCH 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

From: Stephen Boyd
Date: Thu Feb 05 2015 - 19:36:25 EST


On 02/05/15 16:19, Stephen Boyd wrote:
>
> diff --git a/include/linux/clkdev.h b/include/linux/clkdev.h
> index 94bad77eeb4a..9551f84273b3 100644
> --- a/include/linux/clkdev.h
> +++ b/include/linux/clkdev.h
> @@ -21,7 +21,10 @@ struct clk_lookup {
> struct list_head node;
> const char *dev_id;
> const char *con_id;
> - struct clk *clk;
> + union {
> + struct clk *clk;
> + struct clk_hw *hw;
> + };

Oh right this won't work when CONFIG_COMMON_CLK=y and hw isn't assigned
by everyone... We'll have to scrap this part until later.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

--
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/