Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp730791rdg; Wed, 11 Oct 2023 04:07:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfs03nTyEcsS87/Ub+3zGumstrN5pDNhIN/N7XRpBSjwoXKBKu6PY16CCIyAqjLdD8pIIS X-Received: by 2002:a05:6a00:2196:b0:691:da6:47a with SMTP id h22-20020a056a00219600b006910da6047amr24498814pfi.31.1697022471752; Wed, 11 Oct 2023 04:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697022471; cv=none; d=google.com; s=arc-20160816; b=0CH+lYmPfE9JVhaI3GxMqT/mh5F5v5zIeE54kaRS+TNFT9uq8FqBafTrE9D1836cOn uHhn7iMBjD8QBwy7lRyOAqoqlyr7HlK3XwL/cuOXAOALL0C2l/T4OigWy0fb+hBKHfVq Mrprgpr1M55nBRcKzs4ehzG6KYtlkoQcLLBVhbOBhFc2L8hi82jBdUv4jFwHUDQBuELG ikKGJLv66ccXhm0vlhmvJGBf6O1qL52pQs9nbLfS3Km0VeONvTBNPO/sZXlhV60iHVUE j4LD3LTvMbJCuQzckYcBbGJXDic468dfOoCJruQsKHw7wpKBqQkdldptbsSpqqrz1kjv Gqug== 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=ajqXV/HGDqYllgPr7pBnLcrNHSRpeYIMppHWThtCmo8=; fh=ld3UXb1S5Y4IkunPfuj6e9Ppmc+fy6ncC+eQtrVLfK8=; b=qEbxVYe/tz1ZKtZWz7vZmIoeKOjr71hj7KgO9aPISfXHWY8ScXfIjAzxKtBsRLLSVb NpXW6xiv/mEPrRmSpJUxvMexlauV4RDprEKCIr2HL2HO8QtUf3OSFLLAArIEZKEL2gWO Em91J/oNe+qRc/KiN4AIkM2hpVqYEaRjFYZdQEEsg+OdZ7+bkww9oUnqF1PuaoQx+a0f t3bnWEmBARyomoD4bmiZqJPZxD4tRwk8J1OzYEbbeFZRWqoHWnyI6ecwkxyQiJJODHoy YQzaMPMbkCSnoxA+L1R/JBrDmnM11vVNZhyhG56ApfPtwTbkkvf0uSuxx/8DS6MhCbDS 91Bg== 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 Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id d63-20020a633642000000b0058988dc95d0si11654213pga.557.2023.10.11.04.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 04:07:51 -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 40D6E801CF1B; Wed, 11 Oct 2023 04:07:38 -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 S234973AbjJKLHH (ORCPT + 99 others); Wed, 11 Oct 2023 07:07:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234891AbjJKLFh (ORCPT ); Wed, 11 Oct 2023 07:05:37 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55F6DC0; Wed, 11 Oct 2023 04:05:33 -0700 (PDT) Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ex01.ufhost.com (Postfix) with ESMTP id 2DA1724E386; Wed, 11 Oct 2023 19:05:32 +0800 (CST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 1A00624DFCE; Wed, 11 Oct 2023 19:05:32 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 11 Oct 2023 19:05:32 +0800 Received: from ubuntu.localdomain (183.27.96.95) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 11 Oct 2023 19:05:30 +0800 From: Minda Chen To: Conor Dooley , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , "Daire McNamara" , Emil Renner Berthing , Krzysztof Kozlowski CC: , , , , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie , Minda Chen Subject: [PATCH v8 18/22] PCI: plda: Set plda_event_handler() to static Date: Wed, 11 Oct 2023 19:05:10 +0800 Message-ID: <20231011110514.107528-19-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231011110514.107528-1-minda.chen@starfivetech.com> References: <20231011110514.107528-1-minda.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.96.95] 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=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 04:07:38 -0700 (PDT) X-Spam-Level: ** Set plda_event_handler() to static for it is just referenced in its file now. 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 a3fae91927be..4a4a2b5ef8fb 100644 --- a/drivers/pci/controller/plda/pcie-plda-host.c +++ b/drivers/pci/controller/plda/pcie-plda-host.c @@ -252,7 +252,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 573ecf0bd9a8..ce7787aef4b7 100644 --- a/drivers/pci/controller/plda/pcie-plda.h +++ b/drivers/pci/controller/plda/pcie-plda.h @@ -137,7 +137,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