Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4473350rdb; Fri, 15 Sep 2023 03:28:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYlD+MCksGHMggCxPO0TqhdFNB4KHIZryZLRAPHHGfpvrKDlha0splztcjs41ppSb9nrk1 X-Received: by 2002:a05:6a00:170d:b0:68e:3fe6:2c82 with SMTP id h13-20020a056a00170d00b0068e3fe62c82mr1324785pfc.34.1694773733981; Fri, 15 Sep 2023 03:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694773733; cv=none; d=google.com; s=arc-20160816; b=BDS2CwyJzW74qSrG/mHSqISUD0GiHyFABT+SWIZDtMuB+dabz/ZypFhZCmaDI0F1/Y wtNNAT9+0sBMGOlLmgf7vX9d8nhOebCLa+qpZrV0ajX8z9rvthpDdigC5ZCyrmGJKsLE b15ZZ6JwgmLL9TQoknuzNmxo0BdzgaGmKZ9s0EjwQQi81zlcRpAROLBozyG6rzkgnMKE yamU670Y6QU0oQpc4RzoAAkTL7MiXEXvFHm83kom4kXYer9p2tOcSnLEqUKV+wZx2rkN cA2iobQx0884rfAhcCnbwkB+UU6LFx4hmLtrkRYZrMlzoDIS3z2sszFVnJH2TDc5C8u5 TilQ== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id a35-20020a631a63000000b00563d74b6347si2965967pgm.863.2023.09.15.03.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 03:28:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 4C40382B1E40; Fri, 15 Sep 2023 03:23:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234529AbjIOKXp (ORCPT + 99 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 ); 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 To: Daire McNamara , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Emil Renner Berthing CC: , , , , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie , Minda Chen 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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 03:23:47 -0700 (PDT) Set plda_event_handler() function to static Signed-off-by: Minda Chen --- 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); -- 2.17.1