summaryrefslogtreecommitdiff
path: root/src/include/console/spkmodem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/console/spkmodem.h')
-rw-r--r--src/include/console/spkmodem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/spkmodem.h b/src/include/console/spkmodem.h
index dfd21d4eef..336cf14904 100644
--- a/src/include/console/spkmodem.h
+++ b/src/include/console/spkmodem.h
@@ -7,7 +7,7 @@
void spkmodem_init(void);
void spkmodem_tx_byte(unsigned char c);
-#if CONFIG_SPKMODEM && (ENV_ROMSTAGE || ENV_RAMSTAGE)
+#if IS_ENABLED(CONFIG_SPKMODEM) && (ENV_ROMSTAGE || ENV_RAMSTAGE)
static inline void __spkmodem_init(void) { spkmodem_init(); }
static inline void __spkmodem_tx_byte(u8 data) { spkmodem_tx_byte(data); }
#else