From patchwork Wed Mar 7 15:42:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 10264277 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5A72C6055B for ; Wed, 7 Mar 2018 15:44:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C18428397 for ; Wed, 7 Mar 2018 15:44:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38CB32856B; Wed, 7 Mar 2018 15:44:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D46FC29660 for ; Wed, 7 Mar 2018 15:42:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933833AbeCGPmz (ORCPT ); Wed, 7 Mar 2018 10:42:55 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:37333 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933746AbeCGPmy (ORCPT ); Wed, 7 Mar 2018 10:42:54 -0500 Received: by mail-oi0-f66.google.com with SMTP id f186so1974423oig.4 for ; Wed, 07 Mar 2018 07:42:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HBQ7YWECPn+STl/I3pyRrFsLwucGCposbNdsET1YLB4=; b=Lu1au5WjyPWzfOQRoZAHazIAgdwfTkvA1kArVyzW+XvfAF8QdUfQ0XS7Uq+3Foe7Dp eHfxg7JanVGAcC4GgkqW6WeJruDf1GsyUVwsE9qKz75IidfbkXglK+M23Vaouhb6RaFb v0LPUC60asVL95fVwjJLfduVTrHfnYqluuzzOqrcY20fpRgeLOIYVU1PJBT9kt3VrmUa Zs3guiGeQF/zGc/Iebf6T6UZ4DP8ICHpUrmVlBoC5zYKQbhMq6izdFB/Vx0gMN6Jwgb/ Nf7P0zoa8jekC6Na9MBuV3wKXsYDE2AcNijjtFIPvlXUhKd9jEay0Q1eXABhKWlU0Aei iX2Q== X-Gm-Message-State: AElRT7GRkKC5+Hs3N3hL713wFLtcOzE/9popW2ULE/SHl1VxYug6OJvd tIvZTJlGE7HuhTqTHPdAiSNlCZQ= X-Google-Smtp-Source: AG47ELsMok587G+/Swl9TfjLFNQ2YVTWtJuhw5DXAlPiFO/Oc6o5cwJZIhYvtHRg9QVgGjFYPnnwOw== X-Received: by 10.202.83.4 with SMTP id h4mr13703295oib.86.1520437374277; Wed, 07 Mar 2018 07:42:54 -0800 (PST) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id v125sm8273842oie.8.2018.03.07.07.42.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Mar 2018 07:42:53 -0800 (PST) From: Rob Herring To: Bjorn Helgaas , Lorenzo Pieralisi Cc: linux-pci@vger.kernel.org, Ray Jui , Scott Branden , Jon Mason , kbuild test robot Subject: [PATCH 4/9] PCI: kirin_pcie_driver can be static Date: Wed, 7 Mar 2018 09:42:38 -0600 Message-Id: <20180307154243.3205-5-robh@kernel.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180307154243.3205-1-robh@kernel.org> References: <20180307154243.3205-1-robh@kernel.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: kbuild test robot This was generated from 0-day builder. Fixes: c44f2aed62c2 ("PCI: improve compile test coverage") Signed-off-by: Fengguang Wu [robh: add commit msg] Signed-off-by: Rob Herring --- drivers/pci/dwc/pcie-kirin.c | 2 +- drivers/pci/host/pci-ftpci100.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/dwc/pcie-kirin.c b/drivers/pci/dwc/pcie-kirin.c index dcc8cedf6e17..a6b88c7f6e3e 100644 --- a/drivers/pci/dwc/pcie-kirin.c +++ b/drivers/pci/dwc/pcie-kirin.c @@ -504,7 +504,7 @@ static const struct of_device_id kirin_pcie_match[] = { {}, }; -struct platform_driver kirin_pcie_driver = { +static struct platform_driver kirin_pcie_driver = { .probe = kirin_pcie_probe, .driver = { .name = "kirin-pcie", diff --git a/drivers/pci/host/pci-ftpci100.c b/drivers/pci/host/pci-ftpci100.c index b9617d1c1d48..5008fd87956a 100644 --- a/drivers/pci/host/pci-ftpci100.c +++ b/drivers/pci/host/pci-ftpci100.c @@ -586,11 +586,11 @@ static int faraday_pci_probe(struct platform_device *pdev) * We encode bridge variants here, we have at least two so it doesn't * hurt to have infrastructure to encompass future variants as well. */ -const struct faraday_pci_variant faraday_regular = { +static const struct faraday_pci_variant faraday_regular = { .cascaded_irq = true, }; -const struct faraday_pci_variant faraday_dual = { +static const struct faraday_pci_variant faraday_dual = { .cascaded_irq = false, };