Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5126179yba; Wed, 10 Apr 2019 11:56:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrziwfthb1UVeauUlfPOz8UEsC0A00s+1boAcinZiJOPdiWlHWZ4L+xOuVYvf8uI/bKu+5 X-Received: by 2002:a63:10c:: with SMTP id 12mr41086798pgb.276.1554922592810; Wed, 10 Apr 2019 11:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554922592; cv=none; d=google.com; s=arc-20160816; b=X/AiFZinw8sFMAyKXiK8Z2r4AyRyxVAoM1DhNB52uH3ktvkVKZg6vpxWOadxrTpkKm cqJHCvR0A8mYCp36vZO+rN/3GO0Jb/pPyaFw/9r31WUeqohin+i/pYZ1xN/dqn+XQDv9 Ugc1NIyClMgsEIPatP9ne1sWBZM8Ud71IrDJMsO4/vW7Lpe0fkHrlLwlUANVLG2F1X1e M6GtNbblrJ1CGpGYylzUs9EWytt8SZhDjFZHC8FjtLAnR9ut990M3d3fd12qzMQD7qTF O3fSwWoF6PxzPtMMiVEnY2Mnr43rKwrYw2gvSNHDOhFg1lrZNvqXMweZv+bjpxyEddr5 /Z8A== 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=PQ6W7bZg3ZaRUb8GOZtZoUAUFfR3Ye0Oc2icQHXpkU4=; b=vGB4v/vxpRSsmASPU832Ypd5IWJqoIn8Z0F/bVcgmxpoxA1SLQoIbhftAo3LPA1IWA ydt1sxvnzIgX9TAXMOrnliws5Muczgr7u/EF3HG7WpXaEzkL2uesW4P2zI+EZ8z0sv1O 7Fg7xGM4SOfmOIOAFOD5HjUzq7uSsGka/RBxjJ6RBSgSCyf9131SEkBr0siXPyQ9YJUR xZI7AwyB+lxNQ7d1MJhvF6HiFF9AvQH1+Q8SNi+GD+wAnst0nw+HKtJuE9Ken6alRuX2 PbWUoA6+SMkb47zX++lkDj8/V9maxYUV1CnIFPkMXaRB+FEAlkBRgKjLgyvnFAofcjFR 4J6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si33279540pfe.119.2019.04.10.11.56.17; Wed, 10 Apr 2019 11:56:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730895AbfDJPdM (ORCPT + 99 others); Wed, 10 Apr 2019 11:33:12 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6147 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730814AbfDJPdM (ORCPT ); Wed, 10 Apr 2019 11:33:12 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 7811AC04346F639DDEFB; Wed, 10 Apr 2019 23:33:09 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.408.0; Wed, 10 Apr 2019 23:32:59 +0800 From: Yue Haibing To: , , , , CC: , , , YueHaibing Subject: [PATCH -next] PCI: mvebu: Make mvebu_pci_bridge_emul_ops static Date: Wed, 10 Apr 2019 22:09:49 +0800 Message-ID: <20190410140949.26716-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing Fix sparse warning: drivers/pci/controller/pci-mvebu.c:557:28: warning: symbol 'mvebu_pci_bridge_emul_ops' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/pci/controller/pci-mvebu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c index d3a0419..ed032e9 100644 --- a/drivers/pci/controller/pci-mvebu.c +++ b/drivers/pci/controller/pci-mvebu.c @@ -554,7 +554,7 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge, } } -struct pci_bridge_emul_ops mvebu_pci_bridge_emul_ops = { +static struct pci_bridge_emul_ops mvebu_pci_bridge_emul_ops = { .write_base = mvebu_pci_bridge_emul_base_conf_write, .read_pcie = mvebu_pci_bridge_emul_pcie_conf_read, .write_pcie = mvebu_pci_bridge_emul_pcie_conf_write, -- 2.7.4