git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d5de5
)
pci: fix build for FreeBSD
author
Alan Carew
<alan.carew@intel.com>
Thu, 5 Jun 2014 16:12:08 +0000
(17:12 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 10 Jun 2014 22:29:34 +0000
(
00:29
+0200)
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>
lib/librte_eal/bsdapp/eal/eal_pci.c
patch
|
blob
|
history
diff --git
a/lib/librte_eal/bsdapp/eal/eal_pci.c
b/lib/librte_eal/bsdapp/eal/eal_pci.c
index
94ae461
..
5c4d81b
100644
(file)
--- a/
lib/librte_eal/bsdapp/eal/eal_pci.c
+++ b/
lib/librte_eal/bsdapp/eal/eal_pci.c
@@
-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");