forked from luck/tmp_suning_uos_patched
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: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2e08b1dbbc
commit
af0a5646cb
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -1935,6 +1935,9 @@ static struct hv_driver storvsc_drv = {
|
|||
.id_table = id_table,
|
||||
.probe = storvsc_probe,
|
||||
.remove = storvsc_remove,
|
||||
.driver = {
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
|
||||
#if IS_ENABLED(CONFIG_SCSI_FC_ATTRS)
|
||||
|
|
|
@ -912,6 +912,9 @@ static struct hv_driver hvfb_drv = {
|
|||
.id_table = id_table,
|
||||
.probe = hvfb_probe,
|
||||
.remove = hvfb_remove,
|
||||
.driver = {
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
|
||||
static int hvfb_pci_stub_probe(struct pci_dev *pdev,
|
||||
|
@ -929,6 +932,9 @@ static struct pci_driver hvfb_pci_stub_driver = {
|
|||
.id_table = pci_stub_id_table,
|
||||
.probe = hvfb_pci_stub_probe,
|
||||
.remove = hvfb_pci_stub_remove,
|
||||
.driver = {
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
}
|
||||
};
|
||||
|
||||
static int __init hvfb_drv_init(void)
|
||||
|
|
Loading…
Reference in New Issue
Block a user