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
@@ -23,7 +23,6 @@
|
||||
#include <device/pci_def.h>
|
||||
#include <device/resource.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/pci_rom.h>
|
||||
|
||||
|
||||
|
@@ -12,7 +12,7 @@ u32 pci_read_config32(struct device *dev, unsigned int where);
|
||||
void pci_write_config8(struct device *dev, unsigned int where, u8 val);
|
||||
void pci_write_config16(struct device *dev, unsigned int where, u16 val);
|
||||
void pci_write_config32(struct device *dev, unsigned int where, u32 val);
|
||||
|
||||
const struct pci_bus_operations *pci_bus_default_ops(struct device *dev);
|
||||
#endif
|
||||
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
@@ -99,6 +99,4 @@ void pci_update_config32(struct device *dev, int reg, u32 mask, u32 or)
|
||||
pci_write_config32(dev, reg, reg32);
|
||||
}
|
||||
|
||||
const struct pci_bus_operations *pci_bus_default_ops(struct device *dev);
|
||||
|
||||
#endif /* PCI_OPS_H */
|
||||
|
Reference in New Issue
Block a user