pci: remove unneeded includes in public header file
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 16 Mar 2020 11:29:51 +0000 (11:29 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 16 Mar 2020 14:45:45 +0000 (15:45 +0100)
commit0dcba52562873f5efa437b61821be7c1bd459a34
treef8092237a8037c09fb275e72b9f3ef154e604c7c
parent341a793eb193a104c571172e724a98b2552c55cf
pci: remove unneeded includes in public header file

The rte_pci.h file includes more header files than are actually needed,
which means that all users of it also include those headers. This patch
removes the unneeded headers - adding them elsewhere where other components
were requiring them but not including them directly.

Fixes: c752998b5e2e ("pci: introduce library and driver")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
drivers/bus/ifpga/rte_bus_ifpga.h
drivers/common/mlx5/mlx5_common.h
lib/librte_pci/rte_pci.h