From f1b58b78351d7ed220673e688a2f7bc9e96da4e2 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 1 Mar 2019 13:43:02 +0200 Subject: device/pci: Fix PCI accessor headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PCI config accessors are no longer indirectly included from use instead. Change-Id: I2adf46430a33bc52ef69d1bf7dca4655fc8475bd Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31675 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Angel Pons Reviewed-by: Arthur Heymans Reviewed-by: Felix Held --- src/include/device/pci_ops.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/device/pci_ops.h') diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h index 54284f590a..1cf5b77bf7 100644 --- a/src/include/device/pci_ops.h +++ b/src/include/device/pci_ops.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 */ -- cgit v1.2.3