misc: pci_endpoint_test: Populate sriov_configure ops to configure SR-IOV device
Populate sriov_configure ops with pci_sriov_configure_simple to configure SR-IOV device. Link: https://lore.kernel.org/r/20210819123343.1951-8-kishon@ti.com Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
This commit is contained in:
parent
e19a0adf6e
commit
489b1f41e5
@ -978,6 +978,7 @@ static struct pci_driver pci_endpoint_test_driver = {
|
|||||||
.id_table = pci_endpoint_test_tbl,
|
.id_table = pci_endpoint_test_tbl,
|
||||||
.probe = pci_endpoint_test_probe,
|
.probe = pci_endpoint_test_probe,
|
||||||
.remove = pci_endpoint_test_remove,
|
.remove = pci_endpoint_test_remove,
|
||||||
|
.sriov_configure = pci_sriov_configure_simple,
|
||||||
};
|
};
|
||||||
module_pci_driver(pci_endpoint_test_driver);
|
module_pci_driver(pci_endpoint_test_driver);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user