drivers: explicit initialization of pci drivers
[dpdk.git] / drivers / net / enic / enic_ethdev.c
index 69ad01b..8280cea 100644 (file)
@@ -609,7 +609,7 @@ static int eth_enicpmd_dev_init(struct rte_eth_dev *eth_dev)
 }
 
 static struct eth_driver rte_enic_pmd = {
-       {
+       .pci_drv = {
                .name = "rte_enic_pmd",
                .id_table = pci_id_enic_map,
                .drv_flags = RTE_PCI_DRV_NEED_MAPPING,