xenbus/frontend: register bus earlier
[firefly-linux-kernel-4.4.55.git] / drivers / xen / xenbus / xenbus_probe_frontend.c
index dd31d5a43b4080490d47174ad0f8cf20ae99a497..ccd201f47927edd7ccbb9a1d15b62c21fe6674b8 100644 (file)
@@ -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)