summaryrefslogtreecommitdiff
path: root/chip/npcx/ps2.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/ps2.c')
-rw-r--r--chip/npcx/ps2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/ps2.c b/chip/npcx/ps2.c
index 02c1190980..f0c47c84a1 100644
--- a/chip/npcx/ps2.c
+++ b/chip/npcx/ps2.c
@@ -316,7 +316,7 @@ static void ps2_int_handler(void)
DECLARE_IRQ(NPCX_IRQ_PS2, ps2_int_handler, 5);
#ifdef CONFIG_CMD_PS2
-static int command_ps2ench(int argc, char **argv)
+static int command_ps2ench(int argc, const char **argv)
{
uint8_t ch;
uint8_t enable;
@@ -339,7 +339,7 @@ static int command_ps2ench(int argc, char **argv)
DECLARE_CONSOLE_COMMAND(ps2ench, command_ps2ench, "ps2_ench channel 1|0",
"Enable/Disable PS/2 channel");
-static int command_ps2write(int argc, char **argv)
+static int command_ps2write(int argc, const char **argv)
{
uint8_t ch, data;
char *e;