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>
This commit is contained in:
David Marchand 2016-02-16 21:37:01 +01:00 committed by Thomas Monjalon
parent 0972d7c22b
commit 25294cd3a6

View File

@ -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;