Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1386410ybz; Wed, 22 Apr 2020 20:16:04 -0700 (PDT) X-Google-Smtp-Source: APiQypIT5IMZDOkBxaVsXIYzD7/0ZOqlDXDgnhhr86/ZEQv6Rf9SRqyE86dZFOJFW79Yn4Ps+vF5 X-Received: by 2002:a50:e841:: with SMTP id k1mr1209577edn.245.1587611764549; Wed, 22 Apr 2020 20:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587611764; cv=none; d=google.com; s=arc-20160816; b=R75CwHc2A2wFg0QZz0VYc7lbARLJtmIHw592o/+qvZCUD0aENl/BQSyIUzV+dVyq39 LnjA2cxY86RMuZtZPKB3uZWcv273TO19sCbRufquxW6Q//UelM68qi9lSPUKkACMa3pC nF9VnlurK6nL9l264+UKF/QScKOZewakMBZbLbixLI4Xm/49y3TC1VG+o5de7dckmLA3 4+/TUg6kgcN8fMSlZDRhBwxRLP4tB2yPj4RVxH7ESLM3d2DMzAqLyEfCORZ9EQPC2twE boOI/PdhgfWBZd7bAHmuBOIeIKChrORcBpCrAEvtgrh7mRlWUGNrdg9OAC9A6Xz/nq75 0qHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ZRukHkBCaSNBekghzWxlFfVHoc8d1AWv78Tw/vq5Cvc=; b=0xF0UNPzIvqD7tDzypz6pp6+Mfc3pZUkGdOBg5mfVX7BIZC/vx4KK+/2woklcZmk8O 7wLh04qhH0tdqjYcXgcS7+uF9egSTgX1/j/BuSHY0EMk8M/66yKj723u9OjOmw0XHG5X UqvbEKcisz/j2XVzlbvz32WNusWtXzYjt4LmVXVgnZIJb9b1AsLVkU3GfhadjbTBWPj3 LXjmOoKCZ7JZunZl8G0jHl+9yVtdy30/ccJAbgCzuMS5vaxjZHLx8Tca9DDbCPlybsfu gkNor9lRyVMveSnufQC/K1+dpDMQ24mRChTx64sWGfCPRC6APr8RY2JrfIQ1YeipVIim uLtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si583106ejw.403.2020.04.22.20.15.41; Wed, 22 Apr 2020 20:16:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbgDWDMA (ORCPT + 99 others); Wed, 22 Apr 2020 23:12:00 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:45056 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725562AbgDWDL7 (ORCPT ); Wed, 22 Apr 2020 23:11:59 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A1F7F383D15824AF0D7B; Thu, 23 Apr 2020 11:11:57 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Thu, 23 Apr 2020 11:11:47 +0800 From: Zou Wei To: , , , CC: , , Zou Wei Subject: [PATCH -next v2] PCI: dwc: Make hisi_pcie_platform_ops static Date: Thu, 23 Apr 2020 11:18:03 +0800 Message-ID: <1587611883-26960-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/pci/controller/dwc/pcie-hisi.c:365:21: warning: symbol 'hisi_pcie_platform_ops' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/pci/controller/dwc/pcie-hisi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-hisi.c b/drivers/pci/controller/dwc/pcie-hisi.c index 6d9e1b2..11f5ff7 100644 --- a/drivers/pci/controller/dwc/pcie-hisi.c +++ b/drivers/pci/controller/dwc/pcie-hisi.c @@ -362,7 +362,7 @@ static int hisi_pcie_platform_init(struct pci_config_window *cfg) return 0; } -struct pci_ecam_ops hisi_pcie_platform_ops = { +static struct pci_ecam_ops hisi_pcie_platform_ops = { .bus_shift = 20, .init = hisi_pcie_platform_init, .pci_ops = { -- 2.6.2