arm64: Invoke the of_platform_populate() at arch_initcall() level
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 May 2013 09:51:18 +0000 (10:51 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 May 2013 14:44:46 +0000 (15:44 +0100)
commitc560ecfe9617c629ad09b07edb7523c87b2c9619
treed9d2871a547a671b5d1f0bfa87f100cb7623e27f
parent9c413e25d95fd3c0abe23eadad66191b22baa549
arm64: Invoke the of_platform_populate() at arch_initcall() level

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>
arch/arm64/kernel/setup.c