eal/linux: fix build with extra pci config
authorHelin Zhang <helin.zhang@intel.com>
Tue, 28 Jul 2015 22:48:27 +0000 (06:48 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jul 2015 00:15:32 +0000 (02:15 +0200)
commit66c51d2a525d58353acf8ca836a7ab962d8055cd
tree9c4188c2c2b847853d31b7c316bfb8c5a6be63bd
parentce9b8bb8b99877026fcca00fdb253fa3ec3a7e06
eal/linux: fix build with extra pci config

Build log:
lib/librte_eal/common/eal_common_pci.c:188:4: error:
implicit declaration of function pci_config_space_set

The function rte_eal_pci_probe_one_driver, which calls
pci_config_space_set, was moved to eal_common_pci.c,
but pci_config_space_set was left in eal_pci.c with static specifier.

Fixes: 4d4ebca4 ("pci: merge probing and closing functions for linux and bsd")

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
lib/librte_eal/common/include/rte_pci.h
lib/librte_eal/linuxapp/eal/eal_pci.c