Re: [PATCH] powerpc/fsl-pci: Fix section mismatch warning

2021-03-30 Thread Michael Ellerman
On Sun, 14 Mar 2021 20:33:41 +1100, Michael Ellerman wrote: > Section mismatch in reference from the function .fsl_add_bridge() to > the function .init.text:.setup_pci_cmd() > > fsl_add_bridge() is not __init, and can't be, and is the only caller > of setup_pci_cmd(). Fix it by making setup_pci_cm

[PATCH] powerpc/fsl-pci: Fix section mismatch warning

2021-03-14 Thread Michael Ellerman
Section mismatch in reference from the function .fsl_add_bridge() to the function .init.text:.setup_pci_cmd() fsl_add_bridge() is not __init, and can't be, and is the only caller of setup_pci_cmd(). Fix it by making setup_pci_cmd() non-init. Signed-off-by: Michael Ellerman --- arch/powerpc/sysd