powerpc/pci_64: Init pcibios subsys a bit later
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 6 Mar 2023 17:30:42 +0000 (11:30 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 14 Mar 2023 12:36:27 +0000 (23:36 +1100)
Subsequent patches are going to add dependency/use of iommu_ops which is
initialized in subsys_initcall as well.

This moves pciobios_init() to the next initcall level.

This should not cause behavioral change.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/12303156.16998521.1678123842049.JavaMail.zimbra@raptorengineeringinc.com
arch/powerpc/kernel/pci_64.c

index fd42059ae2a58bcae7e0011bfac76537aab091cc..e27342ef128b899c9d4380c4f415d71292233a08 100644 (file)
@@ -73,7 +73,7 @@ static int __init pcibios_init(void)
        return 0;
 }
 
-subsys_initcall(pcibios_init);
+subsys_initcall_sync(pcibios_init);
 
 int pcibios_unmap_io_space(struct pci_bus *bus)
 {