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 0c048dd..7d3bccb 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);