summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_probe_backend.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-03-04 22:32:16 -0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-05 16:30:24 -0500
commitc3676e8462009d84dce89a454956460de3bfdca7 (patch)
treef57504b4f0f54eae9acd4b3b313d9e8dfcfd1260 /drivers/xen/xenbus/xenbus_probe_backend.c
parent806f5463d2598ea23a7a688c47c2774846fe7f2f (diff)
downloadop-kernel-dev-c3676e8462009d84dce89a454956460de3bfdca7.zip
op-kernel-dev-c3676e8462009d84dce89a454956460de3bfdca7.tar.gz
xen/xenbus: make sure backend bus is registered earlier
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>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe_backend.c')
-rw-r--r--drivers/xen/xenbus/xenbus_probe_backend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe_backend.c b/drivers/xen/xenbus/xenbus_probe_backend.c
index 3bd3812..a3cc535 100644
--- a/drivers/xen/xenbus/xenbus_probe_backend.c
+++ b/drivers/xen/xenbus/xenbus_probe_backend.c
@@ -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);
OpenPOWER on IntegriCloud