From patchwork Wed May 11 12:12:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9068921 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 191F89F30C for ; Wed, 11 May 2016 12:12:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 557A520154 for ; Wed, 11 May 2016 12:12:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 761BC201BB for ; Wed, 11 May 2016 12:12:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751830AbcEKMMa (ORCPT ); Wed, 11 May 2016 08:12:30 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:32222 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbcEKMM3 (ORCPT ); Wed, 11 May 2016 08:12:29 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O7000ILEHWQ0850@mailout3.w1.samsung.com>; Wed, 11 May 2016 13:12:26 +0100 (BST) X-AuditID: cbfec7f4-f796c6d000001486-95-573321aa0928 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 1B.83.05254.AA123375; Wed, 11 May 2016 13:12:26 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O70002O8HWMEL80@eusync4.samsung.com>; Wed, 11 May 2016 13:12:26 +0100 (BST) From: Krzysztof Kozlowski To: Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd , Kukjin Kim , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz Subject: [PATCH] clk: samsung: exynos3250: Move PLL rates data to init section Date: Wed, 11 May 2016 14:12:16 +0200 Message-id: <1462968736-7568-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1462968134-6085-1-git-send-email-k.kozlowski@samsung.com> References: <1462968134-6085-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t/xa7qrFI3DDZZsVLXYOGM9q8XrF4YW /Y9fM1tsenyN1eJjzz1Wi8u75rBZzDi/j8ni4ilXi8Nv2lktfpzpZrFYtesPowO3x/sbrewe l/t6mTx2zrrL7rFpVSebx+Yl9R59W1YxenzeJBfAHsVlk5Kak1mWWqRvl8CV8WXhAdaCO1wV N2YaNTA2cXYxcnJICJhILFgwlRHCFpO4cG89WxcjF4eQwFJGibUn9zNDOI1MEi9n/WUHqWIT MJbYvHwJWJWIQBOzxINdLcwgCWYBC4mtW1eDFQkL+Enc+DADLM4ioCqxcFo/E4jNK+Am8XnZ InaIdXISJ49NZgWxOQXcJW6vOwRUwwG0zU3i2XfuCYy8CxgZVjGKppYmFxQnpeca6hUn5haX 5qXrJefnbmKEhOKXHYyLj1kdYhTgYFTi4d1QZRQuxJpYVlyZe4hRgoNZSYQ3UcE4XIg3JbGy KrUoP76oNCe1+BCjNAeLkjjv3F3vQ4QE0hNLUrNTUwtSi2CyTBycUg2MEUE/zNZdfO4Xu9j0 0f+PulP/ulVl8f1mOXTmm6Si6NTDc6beC74jsEPx+flXZ7jEqgQKnpa5Xxf5msy0YLHStk2y BQ0JgdwBn29c/p/PrlS7VMEv6zCf5LUryrwN3LFnuOrdCnZqLPU9fP2E9BK1U2Vbbvy6b7S8 oqm3++tPrhomY715TydeVmIpzkg01GIuKk4EAC6iNCJBAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 arrays with initialization data of PLLs can be moved to initconst section because they are referenced only from other initconst-level symbols. Signed-off-by: Krzysztof Kozlowski Acked-by: Tomasz Figa --- drivers/clk/samsung/clk-exynos3250.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos3250.c b/drivers/clk/samsung/clk-exynos3250.c index 057c3f0d0e35..b2513959252d 100644 --- a/drivers/clk/samsung/clk-exynos3250.c +++ b/drivers/clk/samsung/clk-exynos3250.c @@ -669,7 +669,7 @@ static const struct samsung_gate_clock gate_clks[] __initconst = { }; /* APLL & MPLL & BPLL & UPLL */ -static const struct samsung_pll_rate_table exynos3250_pll_rates[] = { +static const struct samsung_pll_rate_table exynos3250_pll_rates[] __initconst = { PLL_35XX_RATE(1200000000, 400, 4, 1), PLL_35XX_RATE(1100000000, 275, 3, 1), PLL_35XX_RATE(1066000000, 533, 6, 1), @@ -691,7 +691,7 @@ static const struct samsung_pll_rate_table exynos3250_pll_rates[] = { }; /* EPLL */ -static const struct samsung_pll_rate_table exynos3250_epll_rates[] = { +static const struct samsung_pll_rate_table exynos3250_epll_rates[] __initconst = { PLL_36XX_RATE(800000000, 200, 3, 1, 0), PLL_36XX_RATE(288000000, 96, 2, 2, 0), PLL_36XX_RATE(192000000, 128, 2, 3, 0),