33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From: "K. Y. Srinivasan" <kys@microsoft.com>
|
|
Date: Mon, 24 Oct 2011 11:28:12 -0700
|
|
Subject: [PATCH 15/77] Staging: hv: vmbus: Support building the vmbus driver
|
|
as part of the kernel
|
|
|
|
commit 43d4e119f944a41a7694552353635ad9b2cd8b37 upstream.
|
|
|
|
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 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
|
|
index d2d0a2a..05168eb 100644
|
|
--- a/drivers/hv/vmbus_drv.c
|
|
+++ b/drivers/hv/vmbus_drv.c
|
|
@@ -796,4 +796,4 @@ cleanup:
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_VERSION(HV_DRV_VERSION);
|
|
|
|
-module_init(hv_acpi_init);
|
|
+subsys_initcall(hv_acpi_init);
|
|
--
|
|
1.7.9.5
|
|
|