]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Search for and publish cell OF platform devices earlier
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 25 Jan 2008 05:59:12 +0000 (16:59 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 6 Feb 2008 05:29:59 +0000 (16:29 +1100)
commitddb4055961d2b31ce0aa857cad11ff3d8aeddf61
treecde809dcf7efbc817d50b2388693b0d131e8feee
parent5e1e5181e63d3f6f8af59fce678c02d0b137780f
[POWERPC] Search for and publish cell OF platform devices earlier

Currently cell publishes OF devices at device_initcall() time, which
means the earliest a driver can bind to a device is also device_initcall()
time.  We have a driver we want to register before other devices, so
publish the devices at subsys_initcall() time.

This should not cause any behaviour change for existing drivers, as they
are still bound at device_initcall() time.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/setup.c