diff options
author | Martin Roth <martinroth@google.com> | 2017-06-25 11:50:58 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-13 23:57:07 +0000 |
commit | d3bb09d9f498bd35cb7869dc45282b54f5a0ca78 (patch) | |
tree | 2d39a0c9861dbefd59a33d1c7164e0985a270cb6 /src/arch/x86/pci_ops_conf1.c | |
parent | 0fa92b31b0ffe902975930179b107376b312ccbc (diff) | |
download | coreboot-d3bb09d9f498bd35cb7869dc45282b54f5a0ca78.tar.xz |
src: add IS_ENABLED() around Kconfig symbol references
These are places that were missed on the first pass.
Change-Id: Ia6511f0325433ab020946078923bf7ad6f0362a3
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20358
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/arch/x86/pci_ops_conf1.c')
-rw-r--r-- | src/arch/x86/pci_ops_conf1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/pci_ops_conf1.c b/src/arch/x86/pci_ops_conf1.c index 820744c74b..a92fd3108f 100644 --- a/src/arch/x86/pci_ops_conf1.c +++ b/src/arch/x86/pci_ops_conf1.c @@ -20,7 +20,7 @@ * Functions for accessing PCI configuration space with type 1 accesses */ -#if !CONFIG_PCI_IO_CFG_EXT +#if !IS_ENABLED(CONFIG_PCI_IO_CFG_EXT) #define CONFIG_CMD(bus, devfn, where) (0x80000000 | (bus << 16) | \ (devfn << 8) | (where & ~3)) #else |