Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6053387rwp; Mon, 17 Jul 2023 14:07:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlF1Awc3LXixngD7ue2G3i0yl1jE50ivsdjD2O5On1vnQepAzfZbApD9scJA2D4AZw63QnIA X-Received: by 2002:a05:6a00:1401:b0:676:4c90:ca60 with SMTP id l1-20020a056a00140100b006764c90ca60mr14377141pfu.7.1689628023787; Mon, 17 Jul 2023 14:07:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689628023; cv=none; d=google.com; s=arc-20160816; b=tLdNcFGSOloBtonCEAoi31z86RsJIvC8b0DaPBMSXw46F6slHBBY4GrvL/l8CthK7I oppEAnL2krDkc4XTUIHNf+xxXUIx9VCUYEG3Nfo+XIOhwKVk2XetBUob+njhNAV1qlOh 6ondI6NpaOQUIt4BFh8l+JgYI5LE2ZdRXQIY3pZKtLoWZRasHAnCsnEgVCk6xX9816LD IvPr4lWS5IXMrdf7ezEnTd5L7tLGED4KXiQIbzcpnWkFKUp3aWZ4Z4Q4QAH0udRTBd7E fcSFyUepdXiIDn24feC93YZkoZOiwO/mAwUgb/PvqB2AB6YkkHntDuu2i3dstxSGh+7k 5vnQ== 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=GawPkfDxLG3hfeDx0w3lYK35PM3sgJyj2R2oS+jmaF0=; fh=EsUO+iuYETiclGN+Xv3wDI4rHHGWbfY/ReUriXI6Z3U=; b=iLs6Nuc0hJnpOLt0C3yFcsEpTPICkRMgSybCOSqdzggsikWX9mEmdv7TN8qV3LLT8b uVqAePqbZY8huww92NfxzEoWeBl69zeCTjjGW5pDXpHVx3Ae4OUDHUW5J+uWB9VZOgve SEW10LQiDxopKLUTxJhzcX50+I75MtiMKRPj2AYx1nou6d9/O45MVvI80pomT887+14K xkmjNGCp1TkuNP0rq4zxMYjB600zDfiycDoPIraHMwER5/N6a5R4aPatyTCkOWw3nTPD tAdVk9Zoqozt7uZefl8VBDxd8BnPxZ61DcehKWTwa8hJiEHk+oo0RFU/B0OKujHRdK9q M1qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=li1I5yuk; 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=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t10-20020a65554a000000b00557807d78e2si345577pgr.555.2023.07.17.14.06.51; Mon, 17 Jul 2023 14:07:03 -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=@sifive.com header.s=google header.b=li1I5yuk; 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=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230515AbjGQUy0 (ORCPT + 99 others); Mon, 17 Jul 2023 16:54:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231340AbjGQUyD (ORCPT ); Mon, 17 Jul 2023 16:54:03 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5BF910D1 for ; Mon, 17 Jul 2023 13:54:00 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6b9defb366eso513368a34.2 for ; Mon, 17 Jul 2023 13:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1689627240; x=1692219240; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GawPkfDxLG3hfeDx0w3lYK35PM3sgJyj2R2oS+jmaF0=; b=li1I5yuk/FWHcygoZC5vgoBrwA8v6JlxsaCGCv55YtcbRS6bLCFTylJhXUr68Vs/q6 KXvwTVdJpGs/J9Tk4kHohb98Ct3cPpQVWRQyNCN4fnyNYgY6BaEfA9zRYF+6wWcL7P4Z HZkrpDbiYPtoXE9d/fu7pvxGeLgriwn/Fmwx+nectT77VXWtF2YZsB0+xO0AX4HyX+Li npeXJn8Qv95Se3/xzM4zc5wysT6YMT9Qbxl4CToL7BWxP/dg5LBXT2M4/eSuCbOcV2E6 zOVsXqZU7xeIMLbMR9HgFR2gsbDEQgSjN4miqyiG8A8HjPJuSw0ydzlNG1zCz2K45T2S 8yiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689627240; x=1692219240; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GawPkfDxLG3hfeDx0w3lYK35PM3sgJyj2R2oS+jmaF0=; b=R+Ea2N6a/wd61+fAWuUptap8ztUryOhuy6upzWegjmgtI5rd3155KoYRv7rmyn0lR9 Ktv2PjKED8imlbFeFn0dKfHmM7k9c9J7wylb0z+mG/SOnlfTjfOCtz3rF1JIT+BJxBiT tiPVNQO/kLk3/TzjHWZyyJKGuKvY7u8usTZmP+iE8IV/aB8dXYcl/dz9vJJBtLN6A+UO K8ElYF1WnGijA7RY0DkZ+l21ziKCwFHaNkHTxCOKCFOMGynD8+JOmCRBzgWCnAnFJV6o poUOWP0y5/cEXEpaz2ox+t6q1cxp+78YSZ8nrB42mXEV6JADK9MyV1YBE22bU5NMHKQs NH1g== X-Gm-Message-State: ABy/qLajnz6qmAdx7+s7oNS8x41O23XprlZEhd2VbzMBo51UO8WCc08V kSZUdq5EAceqjCaOkLIrsP4A9g== X-Received: by 2002:a9d:748f:0:b0:6b9:bf1e:c141 with SMTP id t15-20020a9d748f000000b006b9bf1ec141mr7785270otk.23.1689627240249; Mon, 17 Jul 2023 13:54:00 -0700 (PDT) Received: from sw06.internal.sifive.com ([64.62.193.194]) by smtp.gmail.com with ESMTPSA id z8-20020a63b048000000b0053031f7a367sm206991pgo.85.2023.07.17.13.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 13:53:59 -0700 (PDT) From: Samuel Holland To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Frank Rowand Cc: Samuel Holland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] of/irq: Export of_irq_count() Date: Mon, 17 Jul 2023 13:53:56 -0700 Message-Id: <20230717205357.2779473-2-samuel.holland@sifive.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230717205357.2779473-1-samuel.holland@sifive.com> References: <20230717205357.2779473-1-samuel.holland@sifive.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,RCVD_IN_DNSWL_BLOCKED, 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 This function is used by the SiFive GPIO driver. Export it so that driver can be built as a module. Signed-off-by: Samuel Holland --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 174900072c18..9cea7632dd6a 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -489,6 +489,7 @@ int of_irq_count(struct device_node *dev) return nr; } +EXPORT_SYMBOL_GPL(of_irq_count); /** * of_irq_to_resource_table - Fill in resource table with node's IRQ info -- 2.40.1