The of_platform_populate() is currently invoked at device_initcall() level. There are however drivers that use platform_driver_probe() directly and they need the devices to be populated. This patch makes the of_platform_populate() and arch_initcall(). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reported-by: Benoit Lecardonnel <Benoit.Lecardonnel@synopsys.com> Tested-by: Benoit Lecardonnel <Benoit.Lecardonnel@synopsys.com> |
||
---|---|---|
.. | ||
vdso | ||
.gitignore | ||
Makefile | ||
arm64ksyms.c | ||
asm-offsets.c | ||
cputable.c | ||
debug-monitors.c | ||
early_printk.c | ||
entry-fpsimd.S | ||
entry.S | ||
fpsimd.c | ||
head.S | ||
hw_breakpoint.c | ||
hyp-stub.S | ||
io.c | ||
irq.c | ||
kuser32.S | ||
module.c | ||
perf_event.c | ||
process.c | ||
psci.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
signal32.c | ||
smp.c | ||
smp_psci.c | ||
smp_spin_table.c | ||
stacktrace.c | ||
sys.c | ||
sys32.S | ||
sys_compat.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |