From 7b811d5e3661874dfeca01901f3641eb70a95b1d Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 18 May 2017 16:04:06 +0200 Subject: device/oprom/include: Use IS_ENABLED() macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibc3bf2f4f1e1bf1ffe9632aa150d549fcd6c201d Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/19762 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé --- src/device/oprom/include/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device/oprom/include/io.h') diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h index eb6bcee512..fc11640f72 100644 --- a/src/device/oprom/include/io.h +++ b/src/device/oprom/include/io.h @@ -11,7 +11,7 @@ * GNU General Public License for more details. */ -#if CONFIG_ARCH_X86 +#if IS_ENABLED(CONFIG_ARCH_X86) #include #else void outb(u8 val, u16 port); -- cgit v1.2.3