aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/ramoops.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-25 11:49:10 -0600
committerMartin Roth <martinroth@google.com>2017-07-08 19:03:42 +0000
commit65822a5222457d9c53a2bf1822c9e3586e700c04 (patch)
tree4ac59630380c6c97f6f489cc2b231c96786a27aa /src/vendorcode/google/chromeos/ramoops.c
parent1d721ed08bc7aff6838fda431a53f7a20c2f2b70 (diff)
src/vendorcode: add IS_ENABLED() around Kconfig symbol references
Change-Id: I891cb4f799aaafcf4a0dd91b5533d2f8db7f3d61 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20357 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/vendorcode/google/chromeos/ramoops.c')
-rw-r--r--src/vendorcode/google/chromeos/ramoops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/google/chromeos/ramoops.c b/src/vendorcode/google/chromeos/ramoops.c
index 313025ddb7..c72af00c54 100644
--- a/src/vendorcode/google/chromeos/ramoops.c
+++ b/src/vendorcode/google/chromeos/ramoops.c
@@ -50,7 +50,7 @@ static void reserve_ram_oops_dynamic(chromeos_acpi_t *chromeos)
set_ramoops(chromeos, ram_oops, size);
}
-#if CONFIG_CHROMEOS_RAMOOPS_DYNAMIC
+#if IS_ENABLED(CONFIG_CHROMEOS_RAMOOPS_DYNAMIC)
static inline void set_global_chromeos_pointer(chromeos_acpi_t *chromeos) {}
#else /* !CONFIG_CHROMEOS_RAMOOPS_DYNAMIC */