diff mbox series

[RFC,29/30] misc: pci_endpoint_test: Populate sriov_configure ops to configure SRIOV device

Message ID 20190604131516.13596-30-kishon@ti.com
State Superseded
Headers show
Series None | expand

Commit Message

Kishon Vijay Abraham I June 4, 2019, 1:15 p.m. UTC
Populate sriov_configure ops with pci_sriov_configure_simple to
configure SRIOV device.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

---
 drivers/misc/pci_endpoint_test.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1
diff mbox series

Patch

diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c
index 632c76e33e4e..2a6cd9e65e67 100644
--- a/drivers/misc/pci_endpoint_test.c
+++ b/drivers/misc/pci_endpoint_test.c
@@ -831,6 +831,7 @@  static struct pci_driver pci_endpoint_test_driver = {
 	.id_table	= pci_endpoint_test_tbl,
 	.probe		= pci_endpoint_test_probe,
 	.remove		= pci_endpoint_test_remove,
+	.sriov_configure = pci_sriov_configure_simple,
 };
 module_pci_driver(pci_endpoint_test_driver);