Skip to content

Commit

Permalink
xenbus/frontend: register bus earlier
Browse files Browse the repository at this point in the history
Impact: bugfix

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

Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Ian Campbell <[email protected]>
[corresponds to 1d5df31 in git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
  • Loading branch information
Jeremy Fitzhardinge authored and konradwilk committed Jan 5, 2011
1 parent 74c2ee9 commit 806f546
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/xen/xenbus/xenbus_probe_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 806f546

Please sign in to comment.