diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-10-24 11:28:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 17:05:34 -0800 |
commit | 43d4e119f944a41a7694552353635ad9b2cd8b37 (patch) | |
tree | 221c3c2c938ec9452e0fc53c6bc3de17a67a28b1 /drivers/hv | |
parent | a48b0c4c7dfe8de55057c6c431ec47d489d1ff7a (diff) | |
download | linux-stable-43d4e119f944a41a7694552353635ad9b2cd8b37.tar.gz linux-stable-43d4e119f944a41a7694552353635ad9b2cd8b37.tar.bz2 linux-stable-43d4e119f944a41a7694552353635ad9b2cd8b37.zip |
Staging: hv: vmbus: Support building the vmbus driver as part of the kernel
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>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/vmbus_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 0c048dd8013f..7d3bccb3b2a5 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -783,4 +783,4 @@ cleanup: MODULE_LICENSE("GPL"); MODULE_VERSION(HV_DRV_VERSION); -module_init(hv_acpi_init); +subsys_initcall(hv_acpi_init); |