From 5b14116a04b4b96d25f825bef8f34caf4bd51466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 23 Jan 2019 16:02:28 +0200 Subject: device/pci_early.c: Drop some guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With PCI_DEV() always defined it is no longer necessary to exclude this code from building. Change-Id: I58a6348750d240aa6024599f7b1af1449f31e8ac Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31303 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/include/device/pci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/device') diff --git a/src/include/device/pci.h b/src/include/device/pci.h index b75020551b..f0724e0f99 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -143,7 +143,6 @@ unsigned int pci_find_next_capability(struct device *dev, unsigned int cap, unsigned int pci_find_capability(struct device *dev, unsigned int cap); #endif /* __SIMPLE_DEVICE__ */ -void pci_early_bridge_init(void); void pci_early_mmio_window(pci_devfn_t p2p_bridge, u32 mmio_base, u32 mmio_size); int pci_early_device_probe(u8 bus, u8 dev, u32 mmio_base); @@ -157,4 +156,6 @@ static inline int pci_base_address_is_memory_space(unsigned int attr) #endif /* CONFIG_PCI */ +void pci_early_bridge_init(void); + #endif /* PCI_H */ -- cgit v1.2.3