Commit af0a5646 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Greg Kroah-Hartman
Browse files

use the new async probing feature for the hyperv drivers



Recent kernels support asynchronous probing; most hyperv drivers
can be probed async easily so set the required flag for this.

Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2e08b1db
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -598,6 +598,9 @@ static struct hv_driver mousevsc_drv = {
	.id_table = id_table,
	.probe = mousevsc_probe,
	.remove = mousevsc_remove,
	.driver = {
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};

static int __init mousevsc_init(void)
+3 −0
Original line number Diff line number Diff line
@@ -1765,6 +1765,9 @@ static struct hv_driver balloon_drv = {
	.id_table = id_table,
	.probe =  balloon_probe,
	.remove =  balloon_remove,
	.driver = {
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};

static int __init init_balloon_drv(void)
+3 −0
Original line number Diff line number Diff line
@@ -487,6 +487,9 @@ static struct hv_driver util_drv = {
	.id_table = id_table,
	.probe =  util_probe,
	.remove =  util_remove,
	.driver = {
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};

static int hv_ptp_enable(struct ptp_clock_info *info,
+3 −0
Original line number Diff line number Diff line
@@ -424,6 +424,9 @@ static struct hv_driver hv_kbd_drv = {
	.id_table = id_table,
	.probe = hv_kbd_probe,
	.remove = hv_kbd_remove,
	.driver = {
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};

static int __init hv_kbd_init(void)
+3 −0
Original line number Diff line number Diff line
@@ -2188,6 +2188,9 @@ static struct hv_driver netvsc_drv = {
	.id_table = id_table,
	.probe = netvsc_probe,
	.remove = netvsc_remove,
	.driver = {
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};

/*
Loading