PCI: rcar: make local symbol static
Subsystems (2)
PATCH 1/1 PCI: rcar: make local symbol static
Make local symbol static, because this is used only in this file.
Signed-off-by Jingoo Han <[email protected]>
--- drivers/pci/host/pcie-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/pcie-rcar.c +1 -1
@@ -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,
Signature · 1 line
1.7.9.5
Quoted 3 lines · Jingoo Han
Make local symbol static, because this is used only in this file.
Signed-off-by Jingoo Han <[email protected]>
Acked-by Simon Horman <[email protected]>
Quoted 21 lines
--- drivers/pci/host/pcie-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pci/host/pcie-rcar.c +1
-1@@ -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,Signature · 1 line
1.7.9.5
Quoted 3 lines · Jingoo Han
Make local symbol static, because this is used only in this file.
Signed-off-by Jingoo Han <[email protected]>
Applied to pci/host-rcar for v3.19 with Simon's ack, thanks!
Quoted 21 lines
--- drivers/pci/host/pcie-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pci/host/pcie-rcar.c +1
-1@@ -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,Signature · 1 line
1.7.9.5