From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH] clkdev: add devm_of_clk_get() Date: Mon, 04 Jul 2016 09:54:05 +0200 Message-ID: <7596144.XSxKMDxLKp@wuerfel> References: <87y45iz0cs.wl%kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87y45iz0cs.wl%kuninori.morimoto.gx@renesas.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Linux-ALSA , Kuninori Morimoto , Linux-DT , Russell King , Linux-Kernel , Mark Brown , linux-clk@vger.kernel.org List-Id: devicetree@vger.kernel.org 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