diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-04 22:31:45 -0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-01-05 16:30:18 -0500 |
commit | 806f5463d2598ea23a7a688c47c2774846fe7f2f (patch) | |
tree | 64681015e7eebb0d45b2cc6a092b3ef0ddba50b7 /drivers/xen | |
parent | 74c2ee98385fe2653d6a817f6f74c18eec4c2424 (diff) | |
download | kernel_samsung_tuna-806f5463d2598ea23a7a688c47c2774846fe7f2f.zip kernel_samsung_tuna-806f5463d2598ea23a7a688c47c2774846fe7f2f.tar.gz kernel_samsung_tuna-806f5463d2598ea23a7a688c47c2774846fe7f2f.tar.bz2 |
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')
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe_frontend.c | 3 |
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) |