]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI: rcar: Make rcar_pci static
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 Oct 2014 02:11:47 +0000 (11:11 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Oct 2014 16:07:58 +0000 (10:07 -0600)
Make rcar_pci static because it is used only in this file.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c

index 61158e03ab5f8437e2f28d9564a2f70b5cd78961..0df9b2941221ff3c8d80e6e2efeb2dbdee239dca 100644 (file)
@@ -389,7 +389,7 @@ static void rcar_pcie_add_bus(struct pci_bus *bus)
        }
 }
 
-struct hw_pci rcar_pci = {
+static struct hw_pci rcar_pci = {
        .setup          = rcar_pcie_setup,
        .map_irq        = of_irq_parse_and_map_pci,
        .ops            = &rcar_pcie_ops,