Skip to content

Commit

Permalink
powerpc/pasemi: Move PHB discovery
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201103043523.916109-17-oohall@gmail.com
  • Loading branch information
Oliver O'Halloran authored and Michael Ellerman committed Feb 8, 2021
1 parent d20a864 commit c144bc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/powerpc/platforms/pasemi/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ static void __init pas_setup_arch(void)
/* Setup SMP callback */
smp_ops = &pas_smp_ops;
#endif
/* Lookup PCI hosts */
pas_pci_init();

/* Remap SDC register for doing reset */
/* XXXOJN This should maybe come out of the device tree */
Expand Down Expand Up @@ -446,6 +444,7 @@ define_machine(pasemi) {
.name = "PA Semi PWRficient",
.probe = pas_probe,
.setup_arch = pas_setup_arch,
.discover_phbs = pas_pci_init,
.init_IRQ = pas_init_IRQ,
.get_irq = mpic_get_irq,
.restart = pas_restart,
Expand Down

0 comments on commit c144bc7

Please sign in to comment.