Skip to content

Commit 43d4e11

Browse files
kattisrinivasangregkh
authored andcommitted
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>
1 parent a48b0c4 commit 43d4e11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/hv/vmbus_drv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,4 +783,4 @@ static int __init hv_acpi_init(void)
783783
MODULE_LICENSE("GPL");
784784
MODULE_VERSION(HV_DRV_VERSION);
785785

786-
module_init(hv_acpi_init);
786+
subsys_initcall(hv_acpi_init);

0 commit comments

Comments
 (0)