Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp881926iob; Wed, 4 May 2022 09:50:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9f2+bnk209lKdjSr0WLze+Z02ca4BaGMy9Ny2lBIxw3ixKn7EppIOH+7uYlrY249ov0rr X-Received: by 2002:a05:6402:5286:b0:425:f0fb:5d23 with SMTP id en6-20020a056402528600b00425f0fb5d23mr23708123edb.243.1651682999811; Wed, 04 May 2022 09:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651682999; cv=none; d=google.com; s=arc-20160816; b=Hd8dAZcyxUzYN1GdaYMrut9Hpf45TL5JkhPvq/PJTUxa5mZajlHEpp85mBHUPBTE68 P1w68EsJoV8WazrU9nKfWG6INTGXigWMW0jNhmfeOKPDA6aJWMCqgGurL2GoDnMDiC9Y N8o7s5GsazpKc2EvOHE/QdKOdmngASmVpJFXfMOwbzqmwCCI9Wx8kn00WepKlrOz74o+ csB2GwPSQXS1NGDeI1x+XOWzYaXRInj7CfEsj5DM2xpJZEIFOcjiRQRmKXeXfV4kmiI1 071zfnDzc6D+yF2K5CMudg7z70WD1oRhfu1oXIJNkdzpygVHNGd3eZ5kZZdaI3A+fkAg 9sQg== 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=PUVxfJrhsniJtnQ7nz0gUaC/9RR8AYztqQ8GdhvVU68=; b=JlCd4KbTUFlljvEOGbc1npvZgZt6zZjhCaqftqIyOwgwfMlWy/q+4ROOJAfqGAfkg2 MOTkdGqpgFZdBmdpSTkyh+WtGJk7gT/2Rp2y4YW3lrpqHI5LQOhftlM1ONWM6dMGdbm3 DJ7gLlws5AE/XjMKtxxmqZBOH6V36+NZFBV+YBCk/+zHLLhlHjSo0Arx3TNfZeJBkujj qEn/aM6I9f72L8hBWkiadO6BvJRUMnfReA5aX/UsgG8SfPmhV+67dst01vIFqB3KNBxc JG4V5k56TWn6BckhkQ3nHaxrouxgGUDRTu1wcxBGf02QwRxAE+jBDbMB9Tx75KXghl35 40Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HEJn9aho; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a056402084b00b00418c2b5befdsi20227706edz.479.2022.05.04.09.49.33; Wed, 04 May 2022 09:49:59 -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=@gmail.com header.s=20210112 header.b=HEJn9aho; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349671AbiEDMgo (ORCPT + 99 others); Wed, 4 May 2022 08:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349627AbiEDMgf (ORCPT ); Wed, 4 May 2022 08:36:35 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C99AC32EF6; Wed, 4 May 2022 05:32:52 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id bv19so2587229ejb.6; Wed, 04 May 2022 05:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PUVxfJrhsniJtnQ7nz0gUaC/9RR8AYztqQ8GdhvVU68=; b=HEJn9ahozroDJ2MNeRspCwpjwGh54adJdjlEW5nC2Z4kGL8cZKo2DhcvGKBTAJSEq+ R1crI71Geo4C7IwGhUVxJLo/jffNS4jwOcK8ynC95bgwCQlFUVbpdfFsMBZEc35eUUQ1 J7pfHqMr71Ju+L/evYzQBx+CBku6/iL+J2uSxz6mvXp4033IYEYHhB6FqhK2uBNssh4p uIch3cnITzd7PoJ3rC+LV8h284zjM/qVws//9XfPYbc/CgAlSygl7IPwy9wmVGCHrnpZ WwEfAC/WMnMeNGvwUb6bJqeEUlast7AGBB2VWksrXwsnt72Zy3hbGoqEtE4mzNYrUUS0 iB+A== 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=PUVxfJrhsniJtnQ7nz0gUaC/9RR8AYztqQ8GdhvVU68=; b=EN3J63ax8mz6oPF7CZwEzrYVgqQnrCUMNpatLbVkiVw8JxwvU8KIvfwIobNO/6ftmn owtSdvpRA5c6g36zsyoDgEhZa/3ia30Kcg+htnH7x5pNvbBOMjEJpe4qgp+Sd/hhoAjy 1eCc/9jARWkzFLIo8QN5BtlnC/EZv4jjb2XxPIeeppVuA2RnqsKkgEdj01vrRF0wOg5b QfBWXl/4IeZEOWhcbQzyS5NuNUQfKN3WMGevAbjzK7/KjHsk3qWI+8D0QW0RDyETJ/VB ULpIe8AKAerkKSiUwQQoohnAQfuO28PW8fbN34qr4eQ2jb8Z0sCQJ/Jw+SEx+WZBVM1L TUmA== X-Gm-Message-State: AOAM532IG194akHwhn2zt5zXaCrB0km0bLpfqo3Ltcp2Iu8BTwK36fWV 2BoTzoZ+G7FAqVHHZymbB5c= X-Received: by 2002:a17:907:761c:b0:6d6:e553:7bd1 with SMTP id jx28-20020a170907761c00b006d6e5537bd1mr19590051ejc.5.1651667572462; Wed, 04 May 2022 05:32:52 -0700 (PDT) Received: from localhost.localdomain (185-177-124-12.hosted-by-worldstream.net. [185.177.124.12]) by smtp.gmail.com with ESMTPSA id ig1-20020a1709072e0100b006f3ef214e7asm5688693ejc.224.2022.05.04.05.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 05:32:52 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Matthias Brugger , Stephen Boyd , Michael Turquette , Philipp Zabel , Rob Herring , Krzysztof Kozlowski Cc: Yassine Oudjana , Yassine Oudjana , Chun-Jie Chen , Chen-Yu Tsai , Tinghan Shen , AngeloGioacchino Del Regno , Weiyi Lu , Ikjoon Jang , Miles Chen , Sam Shih , Bartosz Golaszewski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/13] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev Date: Wed, 4 May 2022 16:25:57 +0400 Message-Id: <20220504122601.335495-9-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504122601.335495-1-y.oudjana@protonmail.com> References: <20220504122601.335495-1-y.oudjana@protonmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Yassine Oudjana This allows it to be used in drivers built as modules. Signed-off-by: Yassine Oudjana --- drivers/clk/mediatek/clk-gate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/mediatek/clk-gate.c b/drivers/clk/mediatek/clk-gate.c index da52023f8455..8af907b82f8f 100644 --- a/drivers/clk/mediatek/clk-gate.c +++ b/drivers/clk/mediatek/clk-gate.c @@ -261,6 +261,7 @@ int mtk_clk_register_gates_with_dev(struct device_node *node, return PTR_ERR(clk); } +EXPORT_SYMBOL_GPL(mtk_clk_register_gates_with_dev); int mtk_clk_register_gates(struct device_node *node, const struct mtk_gate *clks, int num, -- 2.36.0