From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751744AbcFFHTM (ORCPT ); Mon, 6 Jun 2016 03:19:12 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:34934 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751039AbcFFHTK (ORCPT ); Mon, 6 Jun 2016 03:19:10 -0400 Subject: Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub To: tglx@linutronix.de References: <1464903697-3802-1-git-send-email-daniel.lezcano@linaro.org> Cc: linux-kernel@vger.kernel.org, Russell King , "open list:CLK API" , mike.turquette@baylibre.com, Stephen Boyd From: Daniel Lezcano Message-ID: <575523EB.4060208@linaro.org> Date: Mon, 6 Jun 2016 09:19:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1464903697-3802-1-git-send-email-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/02/2016 11:41 PM, Daniel Lezcano wrote: > When compiling with the COMPILE_TEST option set, the clps711x does not > compile because of the clk_get_sys() noop stub missing. > > Signed-off-by: Daniel Lezcano Added missing Cc [Mike and Stephen] > --- > include/linux/clk.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/linux/clk.h b/include/linux/clk.h > index 0df4a51..834179f 100644 > --- a/include/linux/clk.h > +++ b/include/linux/clk.h > @@ -461,6 +461,10 @@ static inline struct clk *clk_get_parent(struct clk *clk) > return NULL; > } > > +static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id) > +{ > + return NULL; > +} > #endif > > /* clk_prepare_enable helps cases using clk_enable in non-atomic context. */ > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog