From f8574bf4a7627228b9cdd14aa77589ac5b355c08 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 21:38:19 -0600 Subject: src/superio: add IS_ENABLED() around Kconfig symbol references Change-Id: Ie9a7127b50db8dc9a2b543843ca4d815afe3d07e Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20351 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/superio/ite/it8716f/it8716f.h | 2 +- src/superio/ite/it8716f/superio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/superio/ite/it8716f') diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h index d4f40fa9aa..3531a1301a 100644 --- a/src/superio/ite/it8716f/it8716f.h +++ b/src/superio/ite/it8716f/it8716f.h @@ -34,7 +34,7 @@ #define IT8716F_GAME 0x09 /* GAME port */ #define IT8716F_IR 0x0a /* Consumer IR */ -#if CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL +#if IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) /* Provided by mainboard, called by IT8716F superio.c. */ void init_ec(u16 base); #endif diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c index 09c8bb9a18..2ec38751ad 100644 --- a/src/superio/ite/it8716f/superio.c +++ b/src/superio/ite/it8716f/superio.c @@ -27,7 +27,7 @@ #include "it8716f.h" -#if !CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL +#if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) static void init_ec(u16 base) { -- cgit v1.2.3