From patchwork Mon Aug 4 10:48:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 4669561 Return-Path: X-Original-To: patchwork-linux-arm@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 890929F37E for ; Mon, 4 Aug 2014 10:52:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BCD56200F3 for ; Mon, 4 Aug 2014 10:52:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 28B8A200E6 for ; Mon, 4 Aug 2014 10:52:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEFpo-00008W-Bk; Mon, 04 Aug 2014 10:49:44 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEFpl-00004v-P7 for linux-arm-kernel@lists.infradead.org; Mon, 04 Aug 2014 10:49:42 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9S00D1O3E43I40@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 04 Aug 2014 19:49:16 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-e3-53df652c5288 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7D.F8.05196.C256FD35; Mon, 04 Aug 2014 19:49:16 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N9S00G823DSAW60@mmp2.samsung.com>; Mon, 04 Aug 2014 19:49:16 +0900 (KST) From: Sylwester Nawrocki To: mturquette@linaro.org Subject: [PATCH] clk: Add missing of_clk_set_defaults export Date: Mon, 04 Aug 2014 12:48:58 +0200 Message-id: <1407149338-18401-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t9jQV2d1PvBBneaDSw2Pb7GavF0wkU2 i8Nv2lktVp6YxezA4nHn2h42j81L6j36tqxi9Dh56glLAEsUl01Kak5mWWqRvl0CV8bnm+kF HewVO65uZm9gbGPrYuTkkBAwkeheeJMRwhaTuHBvPVCci0NIYDqjxOlNC1hAEkICHUwSi/9V gdhsAoYSvUf7wBpEBCQlHnyeDlbDLJAl0bX3GNhQYQEbidP/5rKD2CwCqhJHZ/cB1XBw8Aq4 SfTvSwMxJQQUJOZMspnAyL2AkWEVo2hqQXJBcVJ6rpFecWJucWleul5yfu4mRrDfn0nvYFzV YHGIUYCDUYmHV0DtfrAQa2JZcWXuIUYJDmYlEV7FGKAQb0piZVVqUX58UWlOavEhRmkOFiVx 3oOt1oFCAumJJanZqakFqUUwWSYOTqkGRj42hhlmSa+ebjL+96FnWtG6p5ePcJcw37+qVFp2 7/EcnhdP6+6+bY1T6DkrK6yieK1f0TDUfWNERe3JaC2OMPeEV7ph3z8tkumQ1fz3uJ+97ZDO wzV7utwZnh0UvHrULz97l9ePmZe1HmiFHJ5s8nK3D/cETx9xS3W2lEKLmbx9O3/rqp8LUmIp zkg01GIuKk4EAOKdbZn3AQAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140804_034941_962400_F877ABDE X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org, wsa@the-dreams.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 The of_clk_set_defaults() function is used in subsystems which can be built as module. Add the missing symbol export entry so there is no build errors like: "ERROR: "of_clk_set_defaults" [drivers/i2c/i2c-core.ko] undefined!". Fixes commit: 86be408bfbd846fab3c4ac21d6f9298bd2e4b790 "clk: Support for clock parents and rates assigned from device tree" Reported-by: kbuild test robot Signed-off-by: Sylwester Nawrocki Acked-by: Wolfram Sang --- drivers/clk/clk-conf.c | 1 + 1 file changed, 1 insertion(+) -- 1.7.9.5 diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c index 4e1bda7..aad4796 100644 --- a/drivers/clk/clk-conf.c +++ b/drivers/clk/clk-conf.c @@ -141,3 +141,4 @@ int of_clk_set_defaults(struct device_node *node, bool clk_supplier) return __set_clk_rates(node, clk_supplier); } +EXPORT_SYMBOL_GPL(of_clk_set_defaults);