Skip to content

Commit

Permalink
drivers: i3c: shell: fix kconfig def for ibi
Browse files Browse the repository at this point in the history
Fix kconfig def for ibi where it is missing the CONFIG_.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
  • Loading branch information
XenuIsWatching committed Oct 7, 2024
1 parent b52dd37 commit bd33e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/i3c/i3c_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <device> */
static void cmd_i3c_ibi_hj(const struct shell *sh, size_t argc, char **argv)
{
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -2362,7 +2362,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
"Send I3C HDR\n"
"Usage: hdr <sub cmd>",
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 <sub cmd>",
Expand Down

0 comments on commit bd33e2a

Please sign in to comment.