Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp459156rwb; Sat, 13 Aug 2022 01:37:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR5n/htJ1Qrt/uhiXhBbwXTar1rZYElSfkA7pQnQ3e7esLxCmGY/HDn48g4EhS2cHcLdU3xH X-Received: by 2002:a50:ec91:0:b0:440:9719:72ca with SMTP id e17-20020a50ec91000000b00440971972camr6606392edr.407.1660379828507; Sat, 13 Aug 2022 01:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660379828; cv=none; d=google.com; s=arc-20160816; b=RRm29A7zyoNPnatZfTmk9BaoAh9n2tsijB5oFsDLAqWmL+rObLKdih2wr5IXLDxv1h LMbiMqgjYoMFasyg2I+AeLB5lfwiK6pKg/zv2vWK/MN4GW3z6+D0Le9RK4INFe3VC3YG FYVGFaQUUSwa65eh7NzZu69TsIjpCYkRZ1El46Yg9QqnvgxQQilXMbh4xCMig5qwEekQ tUV5QRzN2JPFIRevWawUN9Bpnzu/cAQ7qOKKi1K/R1G3H+NeKdwMY+qb9HOpNjmsJeuz W1b9UnACblJe+o3oqG8NhIhdis25HO/NsleMYaUatM+PvOCayX+ZUMM5IU5lQcUhQxBC K35g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=XGEs78t61pwV6z3o8igEPiG1BYLAhumLfK2vsVLOvIA=; b=t71sygHJ6dSEBSwm12LiFRikOKGC44tcQpmaxXFWAnPKv9t/Jc+voLILUiMkchOSiL 4lU40G7/4KG4E+OkSz/pO+MNNKtksyciHOBZ22/SKmSzMgE5Q5i9TjtIGrjkSSV8iR1L kuCdUti1eHqbRRKW1vRXgrMC51E/NVOdqfYqgGFo3pUgA8M2QPF2dVDc06y8lwe2Adui RaWxFMB+P2c4YNV5bsKZ8BzULsHdsEyqMuqlo88SMKTNzgcTw0SYee0MzfiX7H3DOFzB L/omo+Nn30jR9+TNeHFebn7ih8VFwM4SMYHIIUAI2aF4gdUevEYHZ++JK1XF5RkLwYua xpoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Au8c358u; 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 sh32-20020a1709076ea000b0073177320828si3383395ejc.943.2022.08.13.01.36.32; Sat, 13 Aug 2022 01:37:08 -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=Au8c358u; 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 S238347AbiHMIdS (ORCPT + 99 others); Sat, 13 Aug 2022 04:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbiHMIdQ (ORCPT ); Sat, 13 Aug 2022 04:33:16 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63A716B64F; Sat, 13 Aug 2022 01:33:15 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id l4so3392858wrm.13; Sat, 13 Aug 2022 01:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=XGEs78t61pwV6z3o8igEPiG1BYLAhumLfK2vsVLOvIA=; b=Au8c358uhsjusyM1DYBsBAk6XpkgxHtNdF0Mo4H7rpPFZfeua78wPKIT82gnkdWiL6 3pcRhBfcMF1EjOoaW6sWed78nJ/oAnJuGfRo6uERH7iy5aWvlnBcOJ9G/1ElexJh5D8M V7wmotx1ITh6LXVnlaOtjwst/hdEPtkonvzrZGxBJE4R2x8tYYSicvB/J6/Kbq+amqbk 6Z4W8yBc17YQI6igVOrqHojnX2e0n0ESqtIQUpQURHrNycd8v1eagV0D0sWx0YF+7rl7 jbs62XVPFg8XSqpxXXCcw7dbTQg6Lxp4I07099QSA09x8DSbGmhaPE0IYGV7HraLV8Ag Pj5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=XGEs78t61pwV6z3o8igEPiG1BYLAhumLfK2vsVLOvIA=; b=emcMdgs/z9uw4L2llMlQrweM+UpVeeLx8ATjoSZTBrkWDAATFV7Ej+UX4KtrkGq7CS JhxcyQac7Lre8xIWV2N+RRgX5JtQYqG4qRDidvV8KnhUCRev2BIK/aMx3lT4W7kTvGbS aexH+VADmzNG5/ZKRSLwrQTj75Kmqf+qxTiN8AE3+ydnblpU4TK/KFQ2/KMGF/EgwVnk W3ofzX+bASRTjGnlXVu6RUK94Cvh7MSAyoW6Q8cZRqvTnWPQNM+9dcm1eAijwK/Xqg/Y lWiyRQKYhYUEDmvUFKgIsspQ/sqhnRxI5iwVqWs5kXAdjWnsUiu+vRvbCuJYZ6VDx8IS BYfg== X-Gm-Message-State: ACgBeo3nCemsiRBHjv2LrWDvtiy9UOQ9W0mJQ1BFc4FyZkN6+dztdPcy vmpZhZjyRp4Zzq3ehUbm5XjNLw0wrqk= X-Received: by 2002:adf:e542:0:b0:21e:c148:3ef2 with SMTP id z2-20020adfe542000000b0021ec1483ef2mr3912848wrm.533.1660379593822; Sat, 13 Aug 2022 01:33:13 -0700 (PDT) Received: from localhost.localdomain ([105.235.129.49]) by smtp.gmail.com with ESMTPSA id a3-20020a05600c224300b003a54109a6a0sm2142267wmm.3.2022.08.13.01.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 01:33:13 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Michael Turquette , Stephen Boyd , Matthias Brugger , AngeloGioacchino Del Regno , Chen-Yu Tsai , Miles Chen , Chun-Jie Chen Cc: Yassine Oudjana , 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: [PATCH v2] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev Date: Sat, 13 Aug 2022 09:32:49 +0100 Message-Id: <20220813083249.45427-1-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.37.1 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 Reviewed-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- 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