summaryrefslogtreecommitdiff
path: root/common/chargesplash.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/chargesplash.c')
-rw-r--r--common/chargesplash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/chargesplash.c b/common/chargesplash.c
index 88bc6a63f1..17da9a5c8c 100644
--- a/common/chargesplash.c
+++ b/common/chargesplash.c
@@ -1,4 +1,4 @@
-/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -171,7 +171,7 @@ static void handle_chipset_shutdown(void)
}
DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, handle_chipset_shutdown, HOOK_PRIO_DEFAULT);
-static int command_chargesplash(int argc, char **argv)
+static int command_chargesplash(int argc, const char **argv)
{
if (argc != 2) {
return EC_ERROR_PARAM_COUNT;