Staging: hv: vmbus: Support building the vmbus driver as part of the kernel
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 24 Oct 2011 18:28:12 +0000 (11:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 01:05:34 +0000 (17:05 -0800)
Modify the way we initialize the vmbus driver so that all the hyper-v drivers
can be linked with the kernel and still ensure that the vmbus driver
is fully initialized before the drivers that depend upon the vmbus
driver attempt to initialize.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hv/vmbus_drv.c

index 0c048dd8013f651b8083a0da3b48054937fe3260..7d3bccb3b2a522fb08fc41f84403ad942f57b503 100644 (file)
@@ -783,4 +783,4 @@ cleanup:
 MODULE_LICENSE("GPL");
 MODULE_VERSION(HV_DRV_VERSION);
 
-module_init(hv_acpi_init);
+subsys_initcall(hv_acpi_init);