pci: allow const pci address parameter
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 16 Apr 2015 23:23:40 +0000 (16:23 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 23 Apr 2015 12:34:43 +0000 (14:34 +0200)
commitd6a9090d48146a2c2cabf5fe66ef1d1db885abc0
tree915d56507cf42872cef2ea2131667b95a6c96f00
parent6065355a03fc743234d4c11fc8e17093bf072617
pci: allow const pci address parameter

probe and close both don't modify the rte_pci_addr structure
that is passed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/include/rte_pci.h