diff --git a/drivers/i3c/i3c_shell.c b/drivers/i3c/i3c_shell.c index 9f511c4978c6d65..bb5f12b44c5c146 100644 --- a/drivers/i3c/i3c_shell.c +++ b/drivers/i3c/i3c_shell.c @@ -1926,7 +1926,7 @@ static int cmd_i3c_i2c_scan(const struct shell *sh, size_t argc, char **argv) return 0; } -#ifdef I3C_USE_IBI +#ifdef CONFIG_I3C_USE_IBI /* i3c ibi hj */ static void cmd_i3c_ibi_hj(const struct shell *sh, size_t argc, char **argv) { @@ -2093,7 +2093,7 @@ static void i3c_device_name_get(size_t idx, struct shell_static_entry *entry) SHELL_DYNAMIC_CMD_CREATE(dsub_i3c_device_name, i3c_device_name_get); -#ifdef I3C_USE_IBI +#ifdef CONFIG_I3C_USE_IBI /* L2 I3C IBI Shell Commands*/ SHELL_STATIC_SUBCMD_SET_CREATE( sub_i3c_ibi_cmds, @@ -2362,7 +2362,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE( "Send I3C HDR\n" "Usage: hdr ", NULL, 3, 0), -#ifdef I3C_USE_IBI +#ifdef CONFIG_I3C_USE_IBI SHELL_CMD_ARG(ibi, &sub_i3c_ibi_cmds, "Send I3C IBI\n" "Usage: ibi ",