diff mbox

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

Message ID 1441364514-24905-9-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/fm10k/fm10k_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index a69c990..bda5a81 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b/drivers/net/fm10k/fm10k_ethdev.c
@@ -2312,7 +2312,7 @@  rte_pmd_fm10k_init(__rte_unused const char *name,
 }
 
 static struct rte_driver rte_fm10k_driver = {
-	.type = PMD_PDEV,
+	.name = "rte_fm10k_driver",		/* PCI device */
 	.init = rte_pmd_fm10k_init,
 };