mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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 <[email protected]> Reported-by: Benoit Lecardonnel <[email protected]> Tested-by: Benoit Lecardonnel <[email protected]>