<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20351">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/superio: add IS_ENABLED() around Kconfig symbol references<br><br>Change-Id: Ie9a7127b50db8dc9a2b543843ca4d815afe3d07e<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M src/superio/ite/it8716f/it8716f.h<br>M src/superio/ite/it8716f/superio.c<br>M src/superio/via/vt1211/vt1211.c<br>3 files changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/20351/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h<br>index d4f40fa..3531a13 100644<br>--- a/src/superio/ite/it8716f/it8716f.h<br>+++ b/src/superio/ite/it8716f/it8716f.h<br>@@ -34,7 +34,7 @@<br> #define IT8716F_GAME 0x09 /* GAME port */<br> #define IT8716F_IR   0x0a /* Consumer IR */<br> <br>-#if CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL<br>+#if IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)<br> /* Provided by mainboard, called by IT8716F superio.c. */<br> void init_ec(u16 base);<br> #endif<br>diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c<br>index 09c8bb9..2ec3875 100644<br>--- a/src/superio/ite/it8716f/superio.c<br>+++ b/src/superio/ite/it8716f/superio.c<br>@@ -27,7 +27,7 @@<br> <br> #include "it8716f.h"<br> <br>-#if !CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL<br>+#if !IS_ENABLED(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL)<br> <br> static void init_ec(u16 base)<br> {<br>diff --git a/src/superio/via/vt1211/vt1211.c b/src/superio/via/vt1211/vt1211.c<br>index c40741a..28586ba 100644<br>--- a/src/superio/via/vt1211/vt1211.c<br>+++ b/src/superio/via/vt1211/vt1211.c<br>@@ -112,7 +112,7 @@<br> {<br>   struct resource *res;<br> <br>-#if CONFIG_CONSOLE_SERIAL && CONFIG_DRIVERS_UART_8250IO<br>+#if IS_ENABLED(CONFIG_CONSOLE_SERIAL) && IS_ENABLED(CONFIG_DRIVERS_UART_8250IO)<br>  /* TODO: Do the same for SP2? */<br>      if (dev->path.pnp.device == VT1211_SP1) {<br>          for (res = dev->resource_list; res; res = res->next) {<br></pre><p>To view, visit <a href="https://review.coreboot.org/20351">change 20351</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/20351"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie9a7127b50db8dc9a2b543843ca4d815afe3d07e </div>
<div style="display:none"> Gerrit-Change-Number: 20351 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>