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

Message ID 1441364514-24905-11-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/ixgbe/ixgbe_ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index b8ee1e9..d59d4b5 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -5514,12 +5514,12 @@  ixgbe_set_eeprom(struct rte_eth_dev *dev,
 }
 
 static struct rte_driver rte_ixgbe_driver = {
-	.type = PMD_PDEV,
+	.name = "rte_ixgbe_driver",		/* PCI device */
 	.init = rte_ixgbe_pmd_init,
 };
 
 static struct rte_driver rte_ixgbevf_driver = {
-	.type = PMD_PDEV,
+	.name = "rte_ixgbevf_driver",	/* PCI device */
 	.init = rte_ixgbevf_pmd_init,
 };