[dpdk-dev,RFC,17/18] vmxnet3: remove type field and initialise name field in rte_driver structure
diff mbox

Message ID 1441364514-24905-18-git-send-email-bernard.iremonger@intel.com
State Rejected, archived
Headers show

Commit Message

Bernard Iremonger Sept. 4, 2015, 11:01 a.m. UTC
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index a70be5c..04fff43 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
@@ -884,7 +884,7 @@  vmxnet3_process_events(struct vmxnet3_hw *hw)
 #endif
 
 static struct rte_driver rte_vmxnet3_driver = {
-	.type = PMD_PDEV,
+	.name = "rte_vmxnet3_driver",	/* PCI device */
 	.init = rte_vmxnet3_pmd_init,
 };