drivers: explicit initialization of pci drivers
[dpdk.git] / drivers / net / vmxnet3 / vmxnet3_ethdev.c
index decd9cf..59e3122 100644 (file)
@@ -261,7 +261,7 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev)
 }
 
 static struct eth_driver rte_vmxnet3_pmd = {
-       {
+       .pci_drv = {
                .name = "rte_vmxnet3_pmd",
                .id_table = pci_id_vmxnet3_map,
                .drv_flags = RTE_PCI_DRV_NEED_MAPPING,