summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2018-03-20 18:17:23 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-03-22 13:22:30 +0100
commit492d98e4f8b37ab802274c33386da36e801e9f64 (patch)
tree0420360ef1a04336c66a81a519f5af91fc056090 /drivers/pci/host
parentPCI: kirin: Make struct kirin_pcie_driver static (diff)
downloadlinux-492d98e4f8b37ab802274c33386da36e801e9f64.tar.xz
linux-492d98e4f8b37ab802274c33386da36e801e9f64.zip
PCI: faraday: Make struct faraday_pci_variant static
This was generated from 0-day builder. Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> [lorenzo.pieralisi@arm.com: reworked/split patch] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pci-ftpci100.c4
1 files changed, 2 insertions, 2 deletions
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,
};