aboutsummaryrefslogtreecommitdiff
path: root/src/include/device/early_smbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/early_smbus.h')
-rw-r--r--src/include/device/early_smbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/early_smbus.h b/src/include/device/early_smbus.h
index 437a569256..1da3f071f1 100644
--- a/src/include/device/early_smbus.h
+++ b/src/include/device/early_smbus.h
@@ -55,7 +55,7 @@
/**
* \brief printk macro for SMBus debugging
*/
-#if defined(CONFIG_DEBUG_SMBUS) && (CONFIG_DEBUG_SMBUS)
+#if IS_ENABLED(CONFIG_DEBUG_SMBUS)
#define printsmbus(x, ...) printk(BIOS_DEBUG, x, ##__VA_ARGS__)
#else
#define printsmbus(x, ...)