summaryrefslogtreecommitdiff
path: root/drivers/net/virtio/virtio_pci.c
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@6wind.com>2016-02-16 21:37:01 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-02-16 22:55:44 +0100
commit25294cd3a6d55cf9574d457b40c29551bb9b6d3b (patch)
treea1be1787ef7dc4d2a2a8b742337ed094ba37f437 /drivers/net/virtio/virtio_pci.c
parent0972d7c22bd5fba482abba2bc2d80c2684f502c0 (diff)
downloaddpdk-next-eventdev-25294cd3a6d55cf9574d457b40c29551bb9b6d3b.zip
dpdk-next-eventdev-25294cd3a6d55cf9574d457b40c29551bb9b6d3b.tar.gz
dpdk-next-eventdev-25294cd3a6d55cf9574d457b40c29551bb9b6d3b.tar.xz
virtio: fix FreeBSD build
Fixes: c52afa68d763 ("virtio: move left PCI stuff in the right file") Signed-off-by: David Marchand <david.marchand@6wind.com> Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Diffstat (limited to 'drivers/net/virtio/virtio_pci.c')
-rw-r--r--drivers/net/virtio/virtio_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio/virtio_pci.c b/drivers/net/virtio/virtio_pci.c
index 455e40d..762e91c 100644
--- a/drivers/net/virtio/virtio_pci.c
+++ b/drivers/net/virtio/virtio_pci.c
@@ -439,7 +439,7 @@ legacy_virtio_resource_init(struct rte_pci_device *pci_dev)
#else
static int
-legayc_virtio_has_msix(const struct rte_pci_addr *loc __rte_unused)
+legacy_virtio_has_msix(const struct rte_pci_addr *loc __rte_unused)
{
/* nic_uio does not enable interrupts, return 0 (false). */
return 0;