浏览代码

misc: pci_endpoint_test: Populate sriov_configure ops to configure SRIOV device

Populate sriov_configure ops with pci_sriov_configure_simple to
configure SRIOV device.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Kishon Vijay Abraham I 6 年之前
父节点
当前提交
621744eea6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/misc/pci_endpoint_test.c

+ 1 - 0
drivers/misc/pci_endpoint_test.c

@@ -929,6 +929,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);