From patchwork Fri Jun 3 08:00:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 578545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 867D2CCA473 for ; Fri, 3 Jun 2022 08:01:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242695AbiFCIBJ (ORCPT ); Fri, 3 Jun 2022 04:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242690AbiFCIBI (ORCPT ); Fri, 3 Jun 2022 04:01:08 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F85E36E2A for ; Fri, 3 Jun 2022 01:01:04 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id i10so11470273lfj.0 for ; Fri, 03 Jun 2022 01:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IZl7paYkTKo4fY2sp2imSp5yjmN9MMo/zuQtzAijVqw=; b=yn2zvRyzuK29pP7fUjVVwwEoBNuCcN7OWLocHsjIe5KRvWj4ZM+KE1Tq8SRcmkQnnf 6XbOQCt+h1xJEFUXOZwK1hFnur5mknEVSA6VFSq3xavu1PcLeZAl2ZEhehR09OH1sQNh IDWKxflA1K5J3agI5UnP0IFuPAOAcAEQwj0PMCXiTFN5Zb0LMIiwE1PMp9b9iQOfGXiO LZe2tb7cZKjj7z/94Ek5mdoDQYRGWSERuEgfcO0OPN701DliULsgi3Ac1U4aEViZH/He oBRFTsyAR52wPLdist5W8pltsINXedT7oJMb5RBvFvrRw3Sw5C9A6F0+HB8UI020aS3Z 4tMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IZl7paYkTKo4fY2sp2imSp5yjmN9MMo/zuQtzAijVqw=; b=NlHlzMb0w6MD/0SgVk5FESptOfcUGHh2xrE1GR56SRSZBMSPXgaN8qUXZq5jOjB8JB +PdVKvdupqY49c18k7/ZAOOl+LSQpWpBcoWBC0+TG4W91pNzs0A+ABFlmN2egJHrVmZq 9QkJS1N0h0P1ZQMTPHp0Pm7xjIahzOzmsDL2q8YE62QyVdI/4ath3r1VEQ/QGVHtq7Pb SwmVs+wuims2cx6EJDqM/cZP+3w3o0K2oszZhTx76JrRQ0fHJzAUOxJ9FQNDX5WmMcM/ 8U7CGBrcWC0E85ONpIXTW3IQgjnRrnOoy1Ln/MO794l1Zpj/FHxXnoGiut58hT5NFI5Y qsTA== X-Gm-Message-State: AOAM530WBA3F9xVUD4AmKTltXebF8zq5yQoSBlWnoojmo4N8j2oZlvy/ hBp+xM6OGrFLWP780eqp9QSf2Q== X-Google-Smtp-Source: ABdhPJyTuHP0IDJnYRoxDkGQV6XbjTo1LwiWBagYZBYYYs4JYEgRQBkaG0GNRszbqrFy2xuq2tbvbQ== X-Received: by 2002:a05:6512:1319:b0:44a:c200:61e5 with SMTP id x25-20020a056512131900b0044ac20061e5mr6155361lfu.550.1654243261441; Fri, 03 Jun 2022 01:01:01 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id d23-20020ac244d7000000b00477c1172063sm1446439lfm.165.2022.06.03.01.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 01:01:01 -0700 (PDT) From: Vladimir Zapolskiy To: Bjorn Andersson Cc: Andy Gross , Stephen Boyd , Michael Turquette , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v6 4/7] clk: qcom: clk-alpha-pll: limit exported symbols to GPL licensed code Date: Fri, 3 Jun 2022 11:00:58 +0300 Message-Id: <20220603080058.2251809-1-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220603080019.2251764-1-vladimir.zapolskiy@linaro.org> References: <20220603080019.2251764-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Unify all exported PLL clock configuration functions and data structures as GPL symbols. Reviewed-by: Bjorn Andersson Signed-off-by: Vladimir Zapolskiy Reviewed-by: Stephen Boyd --- Changes from v3 to v6: * none. Changes from v2 to v3: * added Bjorn's reviewed-by tag drivers/clk/qcom/clk-alpha-pll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/qcom/clk-alpha-pll.c b/drivers/clk/qcom/clk-alpha-pll.c index 288692f0ea39..47879ee5a677 100644 --- a/drivers/clk/qcom/clk-alpha-pll.c +++ b/drivers/clk/qcom/clk-alpha-pll.c @@ -1823,7 +1823,7 @@ const struct clk_ops clk_alpha_pll_lucid_5lpe_ops = { .round_rate = clk_alpha_pll_round_rate, .set_rate = alpha_pll_lucid_5lpe_set_rate, }; -EXPORT_SYMBOL(clk_alpha_pll_lucid_5lpe_ops); +EXPORT_SYMBOL_GPL(clk_alpha_pll_lucid_5lpe_ops); const struct clk_ops clk_alpha_pll_fixed_lucid_5lpe_ops = { .enable = alpha_pll_lucid_5lpe_enable, @@ -1832,14 +1832,14 @@ const struct clk_ops clk_alpha_pll_fixed_lucid_5lpe_ops = { .recalc_rate = clk_trion_pll_recalc_rate, .round_rate = clk_alpha_pll_round_rate, }; -EXPORT_SYMBOL(clk_alpha_pll_fixed_lucid_5lpe_ops); +EXPORT_SYMBOL_GPL(clk_alpha_pll_fixed_lucid_5lpe_ops); const struct clk_ops clk_alpha_pll_postdiv_lucid_5lpe_ops = { .recalc_rate = clk_alpha_pll_postdiv_fabia_recalc_rate, .round_rate = clk_alpha_pll_postdiv_fabia_round_rate, .set_rate = clk_lucid_5lpe_pll_postdiv_set_rate, }; -EXPORT_SYMBOL(clk_alpha_pll_postdiv_lucid_5lpe_ops); +EXPORT_SYMBOL_GPL(clk_alpha_pll_postdiv_lucid_5lpe_ops); void clk_zonda_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) @@ -1992,7 +1992,7 @@ const struct clk_ops clk_alpha_pll_zonda_ops = { .round_rate = clk_alpha_pll_round_rate, .set_rate = clk_zonda_pll_set_rate, }; -EXPORT_SYMBOL(clk_alpha_pll_zonda_ops); +EXPORT_SYMBOL_GPL(clk_alpha_pll_zonda_ops); static int alpha_pll_lucid_evo_enable(struct clk_hw *hw) {