summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-03-04 22:31:45 -0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-05 16:30:18 -0500
commit806f5463d2598ea23a7a688c47c2774846fe7f2f (patch)
tree64681015e7eebb0d45b2cc6a092b3ef0ddba50b7 /drivers/xen/xenbus
parent74c2ee98385fe2653d6a817f6f74c18eec4c2424 (diff)
downloadop-kernel-dev-806f5463d2598ea23a7a688c47c2774846fe7f2f.zip
op-kernel-dev-806f5463d2598ea23a7a688c47c2774846fe7f2f.tar.gz
xenbus/frontend: register bus earlier
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> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> [corresponds to 1d5df318f87f 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')
-rw-r--r--drivers/xen/xenbus/xenbus_probe_frontend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c
index dd31d5a4..ccd201f 100644
--- a/drivers/xen/xenbus/xenbus_probe_frontend.c
+++ b/drivers/xen/xenbus/xenbus_probe_frontend.c
@@ -278,8 +278,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)
OpenPOWER on IntegriCloud