Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/fsl_pci: Make fsl_add_bridge() static

Since commit 905e75c46dba ("powerpc/fsl-pci: Unify pci/pcie initialization code")
fsl_add_bridge() is not used anymore outside of fsl_pci.c

Make it static.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/2115e3597d81e72a865820af54f0e290d0fd2b3a.1692199186.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
6960c53c be922070

+1 -2
+1 -1
arch/powerpc/sysdev/fsl_pci.c
··· 519 519 } 520 520 } 521 521 522 - int fsl_add_bridge(struct platform_device *pdev, int is_primary) 522 + static int fsl_add_bridge(struct platform_device *pdev, int is_primary) 523 523 { 524 524 int len; 525 525 struct pci_controller *hose;
-1
arch/powerpc/sysdev/fsl_pci.h
··· 112 112 113 113 }; 114 114 115 - extern int fsl_add_bridge(struct platform_device *pdev, int is_primary); 116 115 extern void fsl_pcibios_fixup_bus(struct pci_bus *bus); 117 116 extern void fsl_pcibios_fixup_phb(struct pci_controller *phb); 118 117 extern int mpc83xx_add_bridge(struct device_node *dev);