Commit b7787805 authored by Michael Ellerman's avatar Michael Ellerman

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210314093341.132986-1-mpe@ellerman.id.au
parent 55c2f557
......@@ -455,7 +455,7 @@ static void setup_pci_atmu(struct pci_controller *hose)
}
}
static void __init setup_pci_cmd(struct pci_controller *hose)
static void setup_pci_cmd(struct pci_controller *hose)
{
u16 cmd;
int cap_x;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment