summaryrefslogtreecommitdiff
path: root/common/device_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/device_event.c')
-rw-r--r--common/device_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/device_event.c b/common/device_event.c
index 3b9a76c8e0..154801243f 100644
--- a/common/device_event.c
+++ b/common/device_event.c
@@ -87,7 +87,7 @@ void device_enable_event(enum ec_device_event event)
/* Console commands */
#ifdef CONFIG_CMD_DEVICE_EVENT
-static int command_device_event(int argc, char **argv)
+static int command_device_event(int argc, const char **argv)
{
/* Handle sub-commands */
if (argc == 3) {