git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers: explicit initialization of pci drivers
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_ethdev.c
diff --git
a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index
f74e413
..
4353ce2
100644
(file)
--- a/
drivers/net/virtio/virtio_ethdev.c
+++ b/
drivers/net/virtio/virtio_ethdev.c
@@
-1238,7
+1238,7
@@
eth_virtio_dev_init(struct rte_eth_dev *eth_dev)
}
static struct eth_driver rte_virtio_pmd = {
- {
+
.pci_drv =
{
.name = "rte_virtio_pmd",
.id_table = pci_id_virtio_map,
},