diff mbox

[dpdk-dev,RFC,16/18] virtio_ethdev: remove type field and initialise name field in rte_driver structure

Message ID 1441364514-24905-17-git-send-email-bernard.iremonger@intel.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

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

Patch

diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..a19935b 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/virtio_ethdev.c
@@ -1570,7 +1570,7 @@  __rte_unused uint8_t is_rx)
 }
 
 static struct rte_driver rte_virtio_driver = {
-	.type = PMD_PDEV,
+	.name = "rte_virtio_driver",	/* PCI device */
 	.init = rte_virtio_pmd_init,
 };