From 3c35ad90534d4aebd6d9723e4614efb6af01f45c Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 15:00:56 -0600 Subject: src/northbridge: add IS_ENABLED() around Kconfig symbol references Change-Id: I1095944e65bfacd9e878840cc88f8a0a24ecde72 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20347 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/northbridge/via/cx700/vga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/northbridge/via/cx700/vga.c') diff --git a/src/northbridge/via/cx700/vga.c b/src/northbridge/via/cx700/vga.c index 7cb84d2d7e..093477acff 100644 --- a/src/northbridge/via/cx700/vga.c +++ b/src/northbridge/via/cx700/vga.c @@ -27,7 +27,7 @@ #include #include "registers.h" #include -#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE +#if IS_ENABLED(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) #include #endif @@ -143,7 +143,7 @@ static void write_protect_vgabios(void) static void vga_enable_console(void) { -#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE +#if IS_ENABLED(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) /* Call VGA BIOS int10 function 0x4f14 to enable main console * Epia-M does not always autosense the main console so forcing * it on is good. -- cgit v1.2.3