Message ID | 20230915102243.59775-17-minda.chen@starfivetech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp943941vqi; Fri, 15 Sep 2023 03:34:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFp0wbqC4qZpGLbrRCFR4ApbL8jyRYBEnO23eIifUF1awpm+RzlVYAiIJwLzNxS2qqf2w1H X-Received: by 2002:a17:902:7e8a:b0:1c3:a2ea:64d3 with SMTP id z10-20020a1709027e8a00b001c3a2ea64d3mr839366pla.41.1694774049043; Fri, 15 Sep 2023 03:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694774049; cv=none; d=google.com; s=arc-20160816; b=gYMcQ6+jOhkWELiAzENY6L8eWeNdzE4rgA2fdMd8UFzeLteLO+BJD1HvN2R//ctyau VT20GG/ABIgoST4FVCOPL+Ip3KgcL1SynLAjHPVdQwxyPRh10T8LutQ2V2Yi6w+KJCFb k8sF2rTt/egkRfYlhJkAUTeP96L9KZtoyeA3ngmJPn5eucAdfxqDXUiFUA65D8NZsyz0 XJrmCHYh11QJIezk+iBnhaiLjrgJABWouUqcPhdkQTmbrJolZ4/pxLk2lYAMAmOvPkAa A2LaqEBRjPAeDihqdUCYtEUCEEWi3tJFsth4eSHfYjv3Y44raDLGYNxwa4u+tiwV1OGJ p7Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=AKNInqKVVxDOGx0PVilxlzt5e5sU7SYnfcw5w4sPD8c=; fh=y8d0C5dLtGb8zs8KQUIJy2R9+5DBPV29N8a8eZxYvuU=; b=ncxH9Rod/vvdg2D8FE23Hxbj54MCKOgXwDWa4kcr/RkZLe6PgrcgUoAHBCsMTkxnbi CMaLfLva2zbQdCrrAaWhtIGzzzP+kHywbLKpg+k4okFKydNUo/XVJitIjQd9Q6j2/ifx qsXJzUVlIK4qYgb/xQIvv5uabvgyMtb3XGatU2R2aXF/gQ/wblA3gSiqtLaEMhTHS1HF jbmiOzSTk+CXiQV3OR0aMxFj9qN55L30NZxNHwgQb7iuOlhwmP2zC0zkSknCAF+13Zby vlkNZqV0jGHwDlhOKcHI2b/efSzadTWxAxSP2q0YSk54hSXYIPeBMoB1a5ZSIXgqG8ek leHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u9-20020a1709026e0900b001c426636990si1454224plk.637.2023.09.15.03.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 03:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3454C80756CE; Fri, 15 Sep 2023 03:23:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234530AbjIOKXp (ORCPT <rfc822;ruipengqi7@gmail.com> + 32 others); Fri, 15 Sep 2023 06:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234384AbjIOKXM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 06:23:12 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23D451BCA; Fri, 15 Sep 2023 03:23:03 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id E315424E250; Fri, 15 Sep 2023 18:23:01 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 15 Sep 2023 18:23:02 +0800 Received: from ubuntu.localdomain (113.72.144.67) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 15 Sep 2023 18:22:58 +0800 From: Minda Chen <minda.chen@starfivetech.com> To: Daire McNamara <daire.mcnamara@microchip.com>, Conor Dooley <conor@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Bjorn Helgaas <bhelgaas@google.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Emil Renner Berthing <emil.renner.berthing@canonical.com> CC: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org>, <linux-pci@vger.kernel.org>, =?utf-8?q?P?= =?utf-8?q?ali_Roh=C3=A1r?= <pali@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Philipp Zabel <p.zabel@pengutronix.de>, Mason Huo <mason.huo@starfivetech.com>, Leyfoon Tan <leyfoon.tan@starfivetech.com>, Kevin Xie <kevin.xie@starfivetech.com>, Minda Chen <minda.chen@starfivetech.com> Subject: [PATCH v6 16/19] PCI: plda: Set plda_event_handler() to static Date: Fri, 15 Sep 2023 18:22:40 +0800 Message-ID: <20230915102243.59775-17-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230915102243.59775-1-minda.chen@starfivetech.com> References: <20230915102243.59775-1-minda.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.144.67] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:23:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777099392963822662 X-GMAIL-MSGID: 1777099392963822662 |
Series |
Refactoring Microchip PCIe driver and add StarFive PCIe
|
|
Commit Message
Minda Chen
Sept. 15, 2023, 10:22 a.m. UTC
Set plda_event_handler() function to static
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
---
drivers/pci/controller/plda/pcie-plda-host.c | 2 +-
drivers/pci/controller/plda/pcie-plda.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pci/controller/plda/pcie-plda-host.c b/drivers/pci/controller/plda/pcie-plda-host.c index 5c9dce595400..26e6cfd2eaba 100644 --- a/drivers/pci/controller/plda/pcie-plda-host.c +++ b/drivers/pci/controller/plda/pcie-plda-host.c @@ -254,7 +254,7 @@ static const struct irq_domain_ops intx_domain_ops = { .map = plda_pcie_intx_map, }; -irqreturn_t plda_event_handler(int irq, void *dev_id) +static irqreturn_t plda_event_handler(int irq, void *dev_id) { return IRQ_HANDLED; } diff --git a/drivers/pci/controller/plda/pcie-plda.h b/drivers/pci/controller/plda/pcie-plda.h index e59369f23329..b7420598a326 100644 --- a/drivers/pci/controller/plda/pcie-plda.h +++ b/drivers/pci/controller/plda/pcie-plda.h @@ -163,7 +163,6 @@ struct plda_event { int msi_event; }; -irqreturn_t plda_event_handler(int irq, void *dev_id); int plda_init_interrupts(struct platform_device *pdev, struct plda_pcie_rp *port, const struct plda_event *event);