From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: [PATCH] clk: export __clk_round_rate for providers Date: Tue, 03 Jun 2014 11:40:14 +0200 Message-ID: <6099360.oW6xYL5CNm@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from mout.kundenserver.de ([212.227.17.10]:56434 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbaFCJkk (ORCPT ); Tue, 3 Jun 2014 05:40:40 -0400 Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Mike Turquette Cc: linux-kernel@lists.codethink.co.uk, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds a use of the __clk_round_rate in a clock provided that can be built as a loadable module. This exports the symbol to avoid the build error from compiling the qcom clock as a module. Signed-off-by: Arnd Bergmann Cc: Stephen Boyd Cc: Mike Turquette diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 2df2b26..8b73ede 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate) else return clk->rate; } +EXPORT_SYMBOL_GPL(__clk_round_rate); /** * clk_round_rate - round the given rate for a clk From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Tue, 03 Jun 2014 11:40:14 +0200 Subject: [PATCH] clk: export __clk_round_rate for providers Message-ID: <6099360.oW6xYL5CNm@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds a use of the __clk_round_rate in a clock provided that can be built as a loadable module. This exports the symbol to avoid the build error from compiling the qcom clock as a module. Signed-off-by: Arnd Bergmann Cc: Stephen Boyd Cc: Mike Turquette diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 2df2b26..8b73ede 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate) else return clk->rate; } +EXPORT_SYMBOL_GPL(__clk_round_rate); /** * clk_round_rate - round the given rate for a clk