From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752852AbcHMBvf (ORCPT ); Fri, 12 Aug 2016 21:51:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41808 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752397AbcHMBvc (ORCPT ); Fri, 12 Aug 2016 21:51:32 -0400 From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Denis Efremov Subject: [PATCH 2/2] clk: fixed-rate: Remove export symbol on setup function Date: Fri, 12 Aug 2016 18:50:23 -0700 Message-Id: <20160813015023.28221-2-sboyd@codeaurora.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160813015023.28221-1-sboyd@codeaurora.org> References: <20160813015023.28221-1-sboyd@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function is only called by builtin code, but we always exported it and had marked it as __init before commit e4eda8e0654c (clk: remove exported function from __init section, 2013-01-06) removed that marking. Given that it isn't used by modules, lets unexport it and add back __init. Cc: Denis Efremov Signed-off-by: Stephen Boyd --- drivers/clk/clk-fixed-rate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index c735272ed706..b5c46b3f8764 100644 --- a/drivers/clk/clk-fixed-rate.c +++ b/drivers/clk/clk-fixed-rate.c @@ -190,11 +190,10 @@ static struct clk *_of_fixed_clk_setup(struct device_node *node) /** * of_fixed_clk_setup() - Setup function for simple fixed rate clock */ -void of_fixed_clk_setup(struct device_node *node) +void __init of_fixed_clk_setup(struct device_node *node) { _of_fixed_clk_setup(node); } -EXPORT_SYMBOL_GPL(of_fixed_clk_setup); CLK_OF_DECLARE(fixed_clk, "fixed-clock", of_fixed_clk_setup); static int of_fixed_clk_remove(struct platform_device *pdev) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project