summaryrefslogtreecommitdiff
path: root/src/device/pci_early.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-24 14:00:01 -0600
committerMartin Roth <martinroth@google.com>2017-06-28 17:48:57 +0000
commitb3b114c28f6e7c11b327fce84d93141498d5f665 (patch)
tree4ca1b11a12b72dded9f8bf96ec39691621239400 /src/device/pci_early.c
parentebade5dec9e05291f64b0687130d6fbce52270f0 (diff)
downloadcoreboot-b3b114c28f6e7c11b327fce84d93141498d5f665.tar.xz
src/device: add IS_ENABLED() around Kconfig symbol references
Some of these can be changed from #if to if(), but that will happen in a follow-on commmit. Change-Id: I66cde1adcf373889b03f144793c0b4f46d21ca31 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20338 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/pci_early.c')
-rw-r--r--src/device/pci_early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_early.c b/src/device/pci_early.c
index 71077385ab..6baebe0c28 100644
--- a/src/device/pci_early.c
+++ b/src/device/pci_early.c
@@ -71,7 +71,7 @@ unsigned pci_find_capability(pci_devfn_t dev, unsigned cap)
#endif /* __PRE_RAM__ */
-#if CONFIG_EARLY_PCI_BRIDGE
+#if IS_ENABLED(CONFIG_EARLY_PCI_BRIDGE)
static void pci_bridge_reset_secondary(device_t p2p_bridge)
{