summaryrefslogtreecommitdiff
path: root/zephyr/shim/src/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/src/console.c')
-rw-r--r--zephyr/shim/src/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/shim/src/console.c b/zephyr/shim/src/console.c
index edd729efb7..1c5aa44e99 100644
--- a/zephyr/shim/src/console.c
+++ b/zephyr/shim/src/console.c
@@ -202,7 +202,7 @@ void uart_shell_start(void)
}
#ifdef CONFIG_SHELL_HELP
-static void print_console_help(char *name,
+static void print_console_help(const char *name,
const struct zephyr_console_command *command)
{
if (command->help)
@@ -213,7 +213,7 @@ static void print_console_help(char *name,
#endif
int zshim_run_ec_console_command(const struct zephyr_console_command *command,
- size_t argc, char **argv)
+ size_t argc, const char **argv)
{
int ret;