diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2018-03-20 13:17:23 -0400 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-03-22 08:22:30 -0400 |
commit | 492d98e4f8b37ab802274c33386da36e801e9f64 (patch) | |
tree | 0420360ef1a04336c66a81a519f5af91fc056090 | |
parent | e734016dd33ac35a4608ea5117cb28d6b45f5bd5 (diff) |
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>
-rw-r--r-- | drivers/pci/host/pci-ftpci100.c | 4 |
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) | |||
586 | * We encode bridge variants here, we have at least two so it doesn't | 586 | * We encode bridge variants here, we have at least two so it doesn't |
587 | * hurt to have infrastructure to encompass future variants as well. | 587 | * hurt to have infrastructure to encompass future variants as well. |
588 | */ | 588 | */ |
589 | const struct faraday_pci_variant faraday_regular = { | 589 | static const struct faraday_pci_variant faraday_regular = { |
590 | .cascaded_irq = true, | 590 | .cascaded_irq = true, |
591 | }; | 591 | }; |
592 | 592 | ||
593 | const struct faraday_pci_variant faraday_dual = { | 593 | static const struct faraday_pci_variant faraday_dual = { |
594 | .cascaded_irq = false, | 594 | .cascaded_irq = false, |
595 | }; | 595 | }; |
596 | 596 | ||