Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2504193rwa; Mon, 22 Aug 2022 08:43:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR6I3Zd0xwXlAHalF7J3Ay4ZpUNNqxDzSr39IAFalXmdlUAtfiWgP2jw7oTPH9af1J/icsDv X-Received: by 2002:a17:907:2c61:b0:73d:94d1:7b3e with SMTP id ib1-20020a1709072c6100b0073d94d17b3emr214304ejc.222.1661183008053; Mon, 22 Aug 2022 08:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661183008; cv=none; d=google.com; s=arc-20160816; b=KrqZG3TetT5/0amyo5Cv3NGKp28Jg07kjtFcsgGhru1RKb0WH5+FZyFeQFb5m2vXFm wcwHX0MnsLVAWxKW+BZ3wlmYwfKdbmVIvwil/5A6BQkM/2M/v9L7MMQbJkTnnA1yneb+ mUQ7hYb74P5gB09UIE46ay3pHMJA3W9gwt3QxZh/1tk+w5BuZ9YojjPKR0Ux8UfwPjqJ FIONNKAPeKinQRAaGH+rrzOMLL18/T5zHwXC95f/TSNvOoNyTuSqJBaDLs/vPRvMZur5 +2E6ExskkYPLnRFnLtSAF8axBEDrz+vZPBbmN4/MURX9aiRo/ogmTo3Ai2IFIt730JJL GCkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d80NoVc4CKxgwm+1ORH7Ic+wtbyEu3iXvu/cuq0ek2s=; b=aKT9Lrb6ltHuDEUcGflibNkbUi+dfQzzCUu57CQS0CQbSSf8yhKjP6vWams9lRogBx 7UuCb0vPKP0sdMHkQ0jaSkIC4/iKmmfRdnQw6Y7uf3FJKYukXmaY39DH/u4jdFnvKpan 4AQVYRXEiQqyOyHpPqJiK5kSI5LiN/wjvtvUbuFUL9fnWFhl2RWOZqJ52JTNB1T9H5HR kbHPbP35y5V48BowZQKBcsjOIszCb7bJsabPvvwvQvutEGexq8kRYGqgbThMhMJtolxY y58aNbUMRw4QSm4jnrhLcuomMtC9GjKUWXNUuGBw3OGKQ3qtg16/Mn3p7YTcqX8pYZN9 flNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=bhgm4+Ea; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr42-20020a1709073faa00b0073d91a38b35si846448ejc.789.2022.08.22.08.43.00; Mon, 22 Aug 2022 08:43:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=bhgm4+Ea; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236632AbiHVP2v (ORCPT + 99 others); Mon, 22 Aug 2022 11:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236595AbiHVP2U (ORCPT ); Mon, 22 Aug 2022 11:28:20 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E287A1AE for ; Mon, 22 Aug 2022 08:27:33 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id ay12so5784037wmb.1 for ; Mon, 22 Aug 2022 08:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=d80NoVc4CKxgwm+1ORH7Ic+wtbyEu3iXvu/cuq0ek2s=; b=bhgm4+EabLlHOnd1NBtiJTpSbKOsKlBBzPr9K9rd5uRNOTOJ3Ta5+P0Mf9buKQNA4v lVVU8sVQGtRg0Ge3COm2hfFJHl8E6Ie6wr7exkJhfv6TAAYq6rF0tk+xOSx++Av6TMZX W8Ns6DsnfhAsUVFKtnuIr4ZzWP+G9ZYnBVuPD2nMVNHiOUp92okd7y1Li4zF2ZQ4j7q/ 8W2fCDdRJlm4vJGk9NxaOO+9cukzDpWBqkBqyf0LGmH+RB7DTOEz0KoLdTvpAcNVtedh b6Ut3+lLKBwlaA1CAgNUpJ6nw2QL2UPihELOkvvJe1POHCDNnxyt67M+FbC5KOWl4Vm0 GtzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=d80NoVc4CKxgwm+1ORH7Ic+wtbyEu3iXvu/cuq0ek2s=; b=cVwTJTCpQRDk8vY2rIyTpHdPLjEcqFDcnNCqu0p19kuek49IUjpnenZ08RRKxoAAF5 9hQYuTniWpvpAIl2v3wIMh8FlS0lW3DUys3H04MjOEqZnE2j8+hndVC7/DIWNm0dPpVS k0MoE0HeI91Mlg7RWRPDEAmiGvdZ8xwY8X7P2YUUR0GMCj3avSypkDGIHbld3CqnO+RT LztFKKu0J4YfML+skVOag6HKp4QFDH9xjntquwFqNNDsMlcskWA1i927MdwVMRJjEzII ThkDsoJEtjhKcMzyzf81TpSSBzhDfxUE2VxeSiILMlar4hTdjtEm1Bq1FPh6pqzZlsDC 6eaA== X-Gm-Message-State: ACgBeo1gsXSNJm6fEjN76iGBhqwEBgZqZbX9oR00RjNv0LaIUBDhl8eF Sl54nEyzIMgzeLMNl73JEy7qMg== X-Received: by 2002:a05:600c:600c:b0:3a5:abdc:8ce4 with SMTP id az12-20020a05600c600c00b003a5abdc8ce4mr15419339wmb.144.1661182051744; Mon, 22 Aug 2022 08:27:31 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a245:8020:2658:1f7c:362:3e99]) by smtp.gmail.com with ESMTPSA id u18-20020adfdb92000000b0021eaf4138aesm14492011wri.108.2022.08.22.08.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 08:27:31 -0700 (PDT) From: Markus Schneider-Pargmann To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Fabien Parent , AngeloGioacchino Del Regno Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v4 3/4] clk: mediatek: Export required common code symbols Date: Mon, 22 Aug 2022 17:26:51 +0200 Message-Id: <20220822152652.3499972-4-msp@baylibre.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220822152652.3499972-1-msp@baylibre.com> References: <20220822152652.3499972-1-msp@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To make clk-mt8365 compilable as a module there are a few function symbols missing. This patch adds the required EXPORT_SYMBOL_GPL to the functions. Signed-off-by: Markus Schneider-Pargmann --- Notes: Changes in v3: - New patch drivers/clk/mediatek/clk-mtk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c index ef4c29422bbb..1ab6930f7fde 100644 --- a/drivers/clk/mediatek/clk-mtk.c +++ b/drivers/clk/mediatek/clk-mtk.c @@ -422,6 +422,7 @@ int mtk_clk_register_dividers(const struct mtk_clk_divider *mcds, int num, return PTR_ERR(hw); } +EXPORT_SYMBOL_GPL(mtk_clk_register_dividers); void mtk_clk_unregister_dividers(const struct mtk_clk_divider *mcds, int num, struct clk_hw_onecell_data *clk_data) @@ -441,6 +442,7 @@ void mtk_clk_unregister_dividers(const struct mtk_clk_divider *mcds, int num, clk_data->hws[mcd->id] = ERR_PTR(-ENOENT); } } +EXPORT_SYMBOL_GPL(mtk_clk_unregister_dividers); int mtk_clk_simple_probe(struct platform_device *pdev) { @@ -482,6 +484,7 @@ int mtk_clk_simple_probe(struct platform_device *pdev) mtk_free_clk_data(clk_data); return r; } +EXPORT_SYMBOL_GPL(mtk_clk_simple_probe); int mtk_clk_simple_remove(struct platform_device *pdev) { @@ -495,5 +498,6 @@ int mtk_clk_simple_remove(struct platform_device *pdev) return 0; } +EXPORT_SYMBOL_GPL(mtk_clk_simple_remove); MODULE_LICENSE("GPL"); -- 2.37.2