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]>
  • Loading branch information
Jeremy Fitzhardinge committed Jun 29, 2009
1 parent b60e48c commit 1d5df31
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 @@ -262,8 +262,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 1d5df31

Please sign in to comment.