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:

committed by
Michael Ellerman

parent
5657138404
commit
f2d576948d
@@ -58,7 +58,7 @@ static void __init pnv_setup_arch(void)
|
||||
/* XXX PMCS */
|
||||
}
|
||||
|
||||
static void __init pnv_init_early(void)
|
||||
static void __init pnv_init(void)
|
||||
{
|
||||
/*
|
||||
* Initialize the LPC bus now so that legacy serial
|
||||
@@ -276,6 +276,8 @@ static int __init pnv_probe(void)
|
||||
|
||||
pr_debug("PowerNV detected !\n");
|
||||
|
||||
pnv_init();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -301,7 +303,6 @@ static unsigned long pnv_get_proc_freq(unsigned int cpu)
|
||||
define_machine(powernv) {
|
||||
.name = "PowerNV",
|
||||
.probe = pnv_probe,
|
||||
.init_early = pnv_init_early,
|
||||
.setup_arch = pnv_setup_arch,
|
||||
.init_IRQ = pnv_init_IRQ,
|
||||
.show_cpuinfo = pnv_show_cpuinfo,
|
||||
|
Reference in New Issue
Block a user