]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl-pci: Fix section mismatch warning
authorMichael Ellerman <mpe@ellerman.id.au>
Sun, 14 Mar 2021 09:33:41 +0000 (20:33 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Mar 2021 02:22:14 +0000 (13:22 +1100)
commitcc9d39e2cfe8d6ea7c961b8c9923f39765a873c3
tree29e052a7f822a5e375241b55547452f15c4afac1
parentd6ff7ac77923f3ddddf9403be4602da6caee7470
powerpc/fsl-pci: Fix section mismatch warning

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 <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210314093341.132986-1-mpe@ellerman.id.au
arch/powerpc/sysdev/fsl_pci.c