From: David Marchand Date: Tue, 16 Feb 2016 20:37:01 +0000 (+0100) Subject: virtio: fix FreeBSD build X-Git-Tag: spdx-start~7624 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=25294cd3a6d55cf9574d457b40c29551bb9b6d3b;p=dpdk.git virtio: fix FreeBSD build Fixes: c52afa68d763 ("virtio: move left PCI stuff in the right file") Signed-off-by: David Marchand Acked-by: Yuanhan Liu --- diff --git a/drivers/net/virtio/virtio_pci.c b/drivers/net/virtio/virtio_pci.c index 455e40d4ec..762e91c5be 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;