powerpc: Get rid of ppc_md.init_early()
It is now called right after platform probe, so the probe function can just do the job. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

zatwierdzone przez
Michael Ellerman

rodzic
5657138404
commit
f2d576948d
@@ -339,11 +339,6 @@ out:
|
||||
return !!(srr1 & 0x2);
|
||||
}
|
||||
|
||||
static void __init pas_init_early(void)
|
||||
{
|
||||
iommu_init_early_pasemi();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PCMCIA
|
||||
static int pcmcia_notify(struct notifier_block *nb, unsigned long action,
|
||||
void *data)
|
||||
@@ -424,6 +419,8 @@ static int __init pas_probe(void)
|
||||
!of_machine_is_compatible("pasemi,pwrficient"))
|
||||
return 0;
|
||||
|
||||
iommu_init_early_pasemi();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -431,7 +428,6 @@ define_machine(pasemi) {
|
||||
.name = "PA Semi PWRficient",
|
||||
.probe = pas_probe,
|
||||
.setup_arch = pas_setup_arch,
|
||||
.init_early = pas_init_early,
|
||||
.init_IRQ = pas_init_IRQ,
|
||||
.get_irq = mpic_get_irq,
|
||||
.restart = pas_restart,
|
||||
|
Reference in New Issue
Block a user