drivers: explicit initialization of pci drivers
[dpdk.git] / drivers / net / e1000 / em_ethdev.c
index d28030e..9960c70 100644 (file)
@@ -281,7 +281,7 @@ eth_em_dev_init(struct rte_eth_dev *eth_dev)
 }
 
 static struct eth_driver rte_em_pmd = {
-       {
+       .pci_drv = {
                .name = "rte_em_pmd",
                .id_table = pci_id_em_map,
                .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,