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:

committed by
Greg Kroah-Hartman

parent
2e08b1dbbc
commit
af0a5646cb
@@ -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)
|
||||
|
Reference in New Issue
Block a user