[alsa-devel] [PATCH] clkdev: add devm_of_clk_get()
Arnd Bergmann
arnd at arndb.de
Mon Jul 4 09:54:05 CEST 2016
On Monday, July 4, 2016 1:04:30 AM CEST Kuninori Morimoto wrote:
> @@ -501,6 +503,11 @@ static inline struct clk *of_clk_get(struct device_node *np, int index)
> {
> return ERR_PTR(-ENOENT);
> }
> +struct clk *devm_of_clk_get(struct device *dev,
> + struct device_node *np, int index)
> +{
> + return ERR_PTR(-ENOENT);
> +}
> static inline struct clk *of_clk_get_by_name(struct device_node *np,
> const char *name)
> {
> --
>
This is missing "static inline" as found by the bot.
Arnd
More information about the Alsa-devel
mailing list