PCI: faraday: Make struct faraday_pci_variant static
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 20 Mar 2018 17:17:23 +0000 (17:17 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 22 Mar 2018 12:22:30 +0000 (12:22 +0000)
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>
drivers/pci/host/pci-ftpci100.c

index b9617d1c1d48be639eb0d486ee6b2b80011d7294..5008fd87956a91878e9d33b6cb68d6a3190a990c 100644 (file)
@@ -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,
 };