From 25294cd3a6d55cf9574d457b40c29551bb9b6d3b Mon Sep 17 00:00:00 2001 From: David Marchand Date: Tue, 16 Feb 2016 21:37:01 +0100 Subject: [PATCH] virtio: fix FreeBSD build Fixes: c52afa68d763 ("virtio: move left PCI stuff in the right file") Signed-off-by: David Marchand Acked-by: Yuanhan Liu --- drivers/net/virtio/virtio_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1