]> xenbits.xensource.com Git - people/ssmith/netchannel2-pvops.git/commitdiff
xenbus/frontend: register bus earlier
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 5 Mar 2009 06:31:45 +0000 (22:31 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 29 Jun 2009 20:35:08 +0000 (13:35 -0700)
Impact: bugfix

Make sure the frontend bus is registered early, before
any drivers want to attach.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/xenbus/xenbus_probe_frontend.c

index 50ec117d2ed115b5d520f887fa7f2105936d1278..e8ce4b177fbbad563a43f68d005eb408a8fc387e 100644 (file)
@@ -262,8 +262,7 @@ static int __init xenbus_probe_frontend_init(void)
 
        return 0;
 }
-
-module_init(xenbus_probe_frontend_init);
+subsys_initcall(xenbus_probe_frontend_init);
 
 #ifndef MODULE
 static int __init boot_wait_for_devices(void)