You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ARM: l2c: imx vf610: convert to generic l2c OF initialisation
Remove the explicit call to l2x0_of_init(), converting to the generic infrastructure instead. Since the .init_irq method only calls irqchip_init(), we can remove that too as the generic code will take care of that. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -20,19 +20,14 @@ static void __init vf610_init_machine(void)
|
|||||||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init vf610_init_irq(void)
|
|
||||||
{
|
|
||||||
l2x0_of_init(0, ~0);
|
|
||||||
irqchip_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
static const char *vf610_dt_compat[] __initconst = {
|
static const char *vf610_dt_compat[] __initconst = {
|
||||||
"fsl,vf610",
|
"fsl,vf610",
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
DT_MACHINE_START(VYBRID_VF610, "Freescale Vybrid VF610 (Device Tree)")
|
DT_MACHINE_START(VYBRID_VF610, "Freescale Vybrid VF610 (Device Tree)")
|
||||||
.init_irq = vf610_init_irq,
|
.l2c_aux_val = 0,
|
||||||
|
.l2c_aux_mask = ~0,
|
||||||
.init_machine = vf610_init_machine,
|
.init_machine = vf610_init_machine,
|
||||||
.dt_compat = vf610_dt_compat,
|
.dt_compat = vf610_dt_compat,
|
||||||
.restart = mxc_restart,
|
.restart = mxc_restart,
|
||||||
|
|||||||
Reference in New Issue
Block a user