From patchwork Thu Jun 30 08:18:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 12901387 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 EBCEFC433EF for ; Thu, 30 Jun 2022 08:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232985AbiF3IUW (ORCPT ); Thu, 30 Jun 2022 04:20:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232970AbiF3IT5 (ORCPT ); Thu, 30 Jun 2022 04:19:57 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE271193C5 for ; Thu, 30 Jun 2022 01:18:26 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id b23so22064042ljh.7 for ; Thu, 30 Jun 2022 01:18:26 -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=ooMsAxxCH/hbBLEuWr4m0HgpjiSoPlP+w2mHKiMJv4Y=; b=w6QOx6BodDB7x1gqhb+KO9tGfJ3Nomq0u6QMUl/J+SbszxNx4dkJc7dgbiaqIFrUBj JLziUZwMV6rCP2fhbkdf0vyMh840Nh44v5V/v/cMqN8CVfuZqODYbQjp8gZT+5Wfoz4U N6hpzROQfh3UnC+OftKpvfdllTb6yEqQVUpaOFly56Q2SuCBYb/u9eIErZAnmI3+omxE NySuOqTAzkAGFZUfY+DfOgeBVx4NnkZvzDMR8zwTiNjuIRhNg0cocLMFBnQTCTvbP14E J0kSIEjyumJOMa9dHz0Y3ZPbP5my6TE8OH4Eg1dRvisMqShId13sFIeUUDGH6f9Zlg1h 4yJA== 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=ooMsAxxCH/hbBLEuWr4m0HgpjiSoPlP+w2mHKiMJv4Y=; b=ozTnJaXkPj3e/i2pp/Vxvrz//1ysAk+7J7orcx35U97KqP3FE1W6cZIB4VuyqXFCNG /EacvTjZ1AUfmcGz+Zn/ewbDv8/7ydOF0FbwUr3KCgMoPadwwNH1Cbv/nQtPM3Evn5Vf u+N6MJwUqqXpCJFWm0iyPuSpGPdk0SmQ5wLoSzBsIRdDtn5CBuRZev4clsL+FpcII2YX bFwHBMlEcL42NqD2DovC8bP2TaxNuEk4OaBpJi9pReTMMq8Bi2cC4o6OLqBs6NHXFL0Y D7bjq22plP8slsKOnq1NjEukV6vtOAwiroCPzQFc4+GTxBB/szJAb7ETDmn3Xgd69Y16 etlA== X-Gm-Message-State: AJIora94bFepK9arqSY9PLu5y6TMFHMWAMugfYAUy4FcG8VP0qrGFWcV ntQlssQA4hzsmGpI0P0kar5vfA== X-Google-Smtp-Source: AGRyM1twDa58+hVPBo/QugAMysYnMlnbtzaBAn4A5Op7UeMrdPsE76+AHD45tMz0O+YerN2MWAgcmw== X-Received: by 2002:a2e:8558:0:b0:25a:742f:d7 with SMTP id u24-20020a2e8558000000b0025a742f00d7mr4225469ljj.178.1656577105091; Thu, 30 Jun 2022 01:18:25 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id i11-20020ac25b4b000000b0047f705e37aasm2970412lfp.65.2022.06.30.01.18.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jun 2022 01:18:24 -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 v9 4/7] clk: qcom: clk-alpha-pll: limit exported symbols to GPL licensed code Date: Thu, 30 Jun 2022 11:18:21 +0300 Message-Id: <20220630081821.2554050-1-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220630081742.2554006-1-vladimir.zapolskiy@linaro.org> References: <20220630081742.2554006-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Unify all exported PLL clock configuration functions and data structures as GPL symbols. Reviewed-by: Bjorn Andersson Reviewed-by: Stephen Boyd Signed-off-by: Vladimir Zapolskiy Reviewed-by: Vinod Koul --- Changes from v8 to v9: * none. Changes from v7 to v8: * added Stephen's tag. Changes from v3 to v7: * none. Changes from v2 to v3: * added Bjorn's reviewed-by tag Changes from v1 to v2: * none. 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) {