Commit:     bb125fb0e09c1b1e17d0b616f0e31fea937af9f6
Parent:     f4eb010706b6c96c136c7aaa9079159743f33fa8
Author:     Michael Ellerman <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 25 16:59:12 2008 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 16:29:59 2008 +1100

    [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 <[EMAIL PROTECTED]>
    Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/platforms/cell/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/cell/setup.c 
index e6534b5..a7f609b 100644
--- a/arch/powerpc/platforms/cell/setup.c
+++ b/arch/powerpc/platforms/cell/setup.c
@@ -98,7 +98,7 @@ static int __init cell_publish_devices(void)
        return 0;
-machine_device_initcall(cell, cell_publish_devices);
+machine_subsys_initcall(cell, cell_publish_devices);
 static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to