Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com> --- drivers/net/e1000/em_ethdev.c | 2 +- drivers/net/e1000/igb_ethdev.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 912f5dd..70c5a78 100644 --- a/drivers/net/e1000/em_ethdev.c +++ b/drivers/net/e1000/em_ethdev.c @@ -1586,7 +1586,7 @@ eth_em_set_mc_addr_list(struct rte_eth_dev *dev, } struct rte_driver em_pmd_drv = { - .type = PMD_PDEV, + .name = "em_pmd_drv", /* PCI device */ .init = rte_em_pmd_init, }; diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index c7e6d55..f2c675a 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -4135,12 +4135,12 @@ eth_igb_set_eeprom(struct rte_eth_dev *dev, } static struct rte_driver pmd_igb_drv = { - .type = PMD_PDEV, + .name = "pmd_igb_drv", /* PCI device */ .init = rte_igb_pmd_init, }; static struct rte_driver pmd_igbvf_drv = { - .type = PMD_PDEV, + .name = "pmd_igbvf_drv", /* PCI device */ .init = rte_igbvf_pmd_init, }; -- 1.9.1