linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* arm64: Platform devices populated from a device_initcall
@ 2013-05-13 16:20 Benoit Lecardonnel
  2013-05-14  9:31 ` Catalin Marinas
  0 siblings, 1 reply; 3+ messages in thread
From: Benoit Lecardonnel @ 2013-05-13 16:20 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

In the arm64 kernel, function arm64_device_probe 
(arch/arm64/kernel/setup.c) is in charge of populating the platform 
devices defined by the device tree.

Does anyone know why arm64_device_probe is a device_initcall?

This seems to be in conflict with some I2C drivers: see 
drivers/i2c/busses/i2c-designware-platdrv.c for example.
The driver calls platform_driver_probe from a subsys_initcall.
The probe fails because subsys_initcalls are executed before 
device_initcalls.

Maybe arm64_device_probe could be an arch_initcall?

Thanks,
-- 
Benoit Lecardonnel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-14 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 16:20 arm64: Platform devices populated from a device_initcall Benoit Lecardonnel
2013-05-14  9:31 ` Catalin Marinas
2013-05-14 11:47   ` Benoit Lecardonnel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).