Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2440656rwb; Mon, 15 Aug 2022 05:41:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5vhzz6nO2bs/+kUtyTSLYe1FiBO08yIs/1At0joZfftDp1+jrK7rSm6WpRQgkI5Y48vixB X-Received: by 2002:a17:903:264b:b0:16d:b891:593 with SMTP id je11-20020a170903264b00b0016db8910593mr17608059plb.133.1660567276292; Mon, 15 Aug 2022 05:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660567276; cv=none; d=google.com; s=arc-20160816; b=UUx+TZamf1/4uRWEXoZy4N2/18AxotFy27ihveiAPCTEY/CdRGWABokknd1V6AUERF yIiked7jcHxp3L9YpdmrxcE+I7VCUueS2k8O9T+NKrX+br+/ehjcOKPd4m3pd4vHRoBy s0kE4kwy4iEHbDFiAjsGP6kOYpoW3Zkx7jIXI1REf6jrPaoNnw9FFlGzDMLHL9YMlgM7 PJYfu9kQjFWi7IywXaZXe4nTl/01ihEa6vP9qYHZc5uKjhxyeIPthYC6/Uw32tVKPVfN QkLN/v1jWsFUh7MfJ1DjWOH3Wk4xqS49ve28dIkjLgoqKz/Q+M33yLW8Mnis+E4NQZku UOGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Cb0QvKMoKu2xzU2m5fn8KpdSBP1r0jNnjaCG9BaoJf8=; b=NhMnkf6LHbrGqNPVr7ZMgNVDB1FD/v0F47kJ70rRNhC3sLoDNRm/0l6n4Gosnh7La/ ZCofwaJwKBcohhNw3viIj1yYM254Irf6M4JD7IC5wWZr7se1Yv6VnaLpSUkZNUrKXG5+ taVb4uoG5GTDpjKnREh/DcYZlL6DxmdxMLrIHiz7BxUEuYMTzwAOajk2V+4DiNDQizyn FWe/u5Vy2nCy0wV9VyhDJZ9ujCVS5WR7wo2DFbYCW9LVq7v93Cr8WvIVyyn68c5QRGkX WfE5Fk99slRU9qkkF94l68LG52s/dwSd5pVqfj/9yuMFvknB3OJc8Y//dU7CUFqEzFsF lSQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=f+PqK1yx; 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 i130-20020a639d88000000b0041cef4fc749si10944482pgd.176.2022.08.15.05.41.04; Mon, 15 Aug 2022 05:41:16 -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=f+PqK1yx; 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 S232130AbiHOMUD (ORCPT + 99 others); Mon, 15 Aug 2022 08:20:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiHOMUB (ORCPT ); Mon, 15 Aug 2022 08:20:01 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0931826557 for ; Mon, 15 Aug 2022 05:20:00 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id bv3so8887499wrb.5 for ; Mon, 15 Aug 2022 05:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=Cb0QvKMoKu2xzU2m5fn8KpdSBP1r0jNnjaCG9BaoJf8=; b=f+PqK1yxoLrzKdv8s2Gx0dw1GGRi6kzs2WtESzUBUGQG7gNf8/5tPqz5d6f0l+0Ky6 7ndLFsBkewX2QTK2z0l3UYTB2sYOin1HS0/9taL7mPO08fZK3Ju66PG/VFHq94m2oaF+ xVn2KK9BpqqxxaBq8/HQSQPgTz8TLhYBRrgAI0TAzDciDdidR9yGAx1Vb+KW/jTmVTvW 35zTA2WK3EaDTcXPDxVeqvlGQPHGM5mhZocrw0Lv8IHEB6LzqY7dlPwJ/CKQch2sTKkE wehf/6PQ3X71Wj4IIRU+XYRTJGVM6u4iK8XAGfIHRuquPeHL2hFylVMgyUdwkXpDILqd vDwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=Cb0QvKMoKu2xzU2m5fn8KpdSBP1r0jNnjaCG9BaoJf8=; b=01Zgp35xLm98J7h3iRPV3IGV4hq9MJi62iCuYfCV2dqrN26o9Zz14SyNw81R0dhmeG LvWuzr7eu0yqRdg8swAYSsJHQKsO1xRN2TkVKvsYXNd7y9QVXHUoJD209LYY2ScntBW7 6Rh1EC60jZmor6y0tPPRdAIbphZoQcoTaM+dDtHtSDFllWJBau5DMvvbNoYCBqxKTAjF ARLCEuvlb7Q4AXBCsiuC2NJliahqH0bDGiXR2jEh3x9tBK7dRsHZuMsXuVP7IDUP+G0W j20aowfn9HnHoHX7AAkhr/qs9HF0WagF/TrKSle5Ax9tW2xKlisQlqRzWsYU8LdRXvfr f4hQ== X-Gm-Message-State: ACgBeo1KHpsV4+CKLtguUGNfvbrdWynw7p3WSylSUu2N77Sk3it4j/Ra MpG15YM3aNQVtwbgRrCwjtub9Q== X-Received: by 2002:a5d:684e:0:b0:220:63df:3760 with SMTP id o14-20020a5d684e000000b0022063df3760mr8120665wrw.508.1660565998532; Mon, 15 Aug 2022 05:19:58 -0700 (PDT) Received: from blmsp ([2001:4090:a243:8036:200c:a862:4253:884]) by smtp.gmail.com with ESMTPSA id x15-20020a5d490f000000b002205a5de337sm7084777wrq.102.2022.08.15.05.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 05:19:57 -0700 (PDT) Date: Mon, 15 Aug 2022 14:19:57 +0200 From: Markus Schneider-Pargmann To: Yassine Oudjana Cc: Michael Turquette , Stephen Boyd , Matthias Brugger , AngeloGioacchino Del Regno , Chen-Yu Tsai , Miles Chen , Chun-Jie Chen , Yassine Oudjana , Rex-BC Chen , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev Message-ID: <20220815121957.hmdjsznp4zj2ijmh@blmsp> References: <20220813083249.45427-1-y.oudjana@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220813083249.45427-1-y.oudjana@protonmail.com> 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=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 Hi Yassine, On Sat, Aug 13, 2022 at 09:32:49AM +0100, Yassine Oudjana wrote: > From: Yassine Oudjana > > This allows it to be used in drivers built as modules. > > Signed-off-by: Yassine Oudjana > Reviewed-by: Chen-Yu Tsai > Reviewed-by: AngeloGioacchino Del Regno This change overlaps with my patch [1], I added export symbol for more functions as it was necessary to build the mt8365 clock driver as a module. I will rebase after this one was applied. You already have two reviewed-bys, but if you need one more, here you go ;) Reviewed-by: Markus Schneider-Pargmann Best, Markus [1] https://lore.kernel.org/linux-mediatek/20220811084433.2598575-4-msp@baylibre.com/ > --- > This patch was originally part of a series, and is sent alone now since > it doesn't depend on the rest of it and can be applied directly: > https://lore.kernel.org/linux-clk/20220519134728.456643-1-y.oudjana@protonmail.com/ > > 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 421806236228..0c867136e49d 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(hw); > } > +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.37.1 > >