device/pci: Fix PCI accessor headers
PCI config accessors are no longer indirectly included from <arch/io.h> use <device/pci_ops.h> instead. Change-Id: I2adf46430a33bc52ef69d1bf7dca4655fc8475bd Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31675 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Patrick Georgi
parent
44e89af6e6
commit
f1b58b7835
@@ -203,10 +203,6 @@ static __always_inline void write64(volatile void *addr,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* FIXME: We should avoid this indirect include. Also this has to
|
||||
* appear here after all MMIO and IO read/write functions. */
|
||||
#include <arch/pci_ops.h>
|
||||
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
|
||||
#define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC))
|
||||
|
Reference in New Issue
Block a user