From patchwork Tue Jun 3 09:40:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4286301 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 226619F391 for ; Tue, 3 Jun 2014 09:40:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D33B202E6 for ; Tue, 3 Jun 2014 09:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 879E7202E9 for ; Tue, 3 Jun 2014 09:40:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751201AbaFCJkl (ORCPT ); Tue, 3 Jun 2014 05:40:41 -0400 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 Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue103) with ESMTP (Nemesis) id 0LoJRp-1WKL7W0X0L-00gKcU; Tue, 03 Jun 2014 11:40:15 +0200 From: Arnd Bergmann To: Mike Turquette Cc: linux-kernel@lists.codethink.co.uk, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH] clk: export __clk_round_rate for providers Date: Tue, 03 Jun 2014 11:40:14 +0200 Message-ID: <6099360.oW6xYL5CNm@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V02:K0:ktCAYi3PofKN+i8Bx/Q3mh8A1CYyvK1BrPG/Ik40Thh Zm957OWzp7AKEwffi4QUpwgSxxElBgfrp09YX76PBI66f0S3cI 3OpaTLCr9BYNysQQMzn9bYXtxzjY5wPM2an7NdaWULkEI9xqFb KBCv3NrHThtRzVOOXISvLRd0ngvDKgSs+7O26Qak9BHmXyxLIo laAPqJTnPXjWkOCkj62Zrogo5J88AwfJd5c0RH9Og82zuWGJV1 TD3cDYBZ8hNidXErkgKFTUP85lVlEXXcqaWpPQ2arzt4QGuYJU fsjG7MyakZvGPW034EC9YntcaYDUyny2oWzBfuvBrGZ5xoLICr 7HKNoYotlh0X4LURtjMA= Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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