xen/xenbus: make sure backend bus is registered earlier
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 5 Mar 2009 06:32:16 +0000 (22:32 -0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 5 Jan 2011 21:30:24 +0000 (16:30 -0500)
Impact: bugfix

Need to register it before any drivers want to attach.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[corresponds to a7a9c3a942c6 in git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_probe_backend.c

index 3bd3812..a3cc535 100644 (file)
@@ -295,5 +295,4 @@ static int __init xenbus_probe_backend_init(void)
 
        return 0;
 }
-
-module_init(xenbus_probe_backend_init);
+subsys_initcall(xenbus_probe_backend_init);