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:
parent
0972d7c22b
commit
25294cd3a6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user