summaryrefslogtreecommitdiff
path: root/src/include/console/ne2k.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/console/ne2k.h')
-rw-r--r--src/include/console/ne2k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/ne2k.h b/src/include/console/ne2k.h
index ea2a139ad2..7b43084f38 100644
--- a/src/include/console/ne2k.h
+++ b/src/include/console/ne2k.h
@@ -27,7 +27,7 @@ void ne2k_transmit(unsigned int eth_nic_base);
#define ne2k_append_data_byte(d, base) ne2k_append_data(&d, 1, base)
#endif
-#if CONFIG_CONSOLE_NE2K && (ENV_ROMSTAGE || ENV_RAMSTAGE)
+#if IS_ENABLED(CONFIG_CONSOLE_NE2K) && (ENV_ROMSTAGE || ENV_RAMSTAGE)
static inline void __ne2k_init(void)
{
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);