pci: fix build for FreeBSD
Add __rte_unused to pci_unbind_kernel_driver(struct rte_pci_device *dev) Signed-off-by: Alan Carew <alan.carew@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
86d5de5c46
commit
d10296d7ea
@ -110,7 +110,7 @@ static struct uio_res_list *uio_res_list = NULL;
|
||||
|
||||
/* unbind kernel driver for this device */
|
||||
static int
|
||||
pci_unbind_kernel_driver(struct rte_pci_device *dev)
|
||||
pci_unbind_kernel_driver(struct rte_pci_device *dev __rte_unused)
|
||||
{
|
||||
RTE_LOG(ERR, EAL, "RTE_PCI_DRV_FORCE_UNBIND flag is not implemented "
|
||||
"for BSD\n");
|
||||
|
Loading…
Reference in New Issue
Block a user