diff options
Diffstat (limited to 'zephyr/shim/src/rtc.c')
-rw-r--r-- | zephyr/shim/src/rtc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/shim/src/rtc.c b/zephyr/shim/src/rtc.c index 9627089f2e..c8a0511c95 100644 --- a/zephyr/shim/src/rtc.c +++ b/zephyr/shim/src/rtc.c @@ -1,16 +1,16 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. +/* Copyright 2021 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <zephyr/logging/log.h> #include <zephyr/kernel.h> -#include <zephyr/zephyr.h> #include "console.h" #include "drivers/cros_rtc.h" #include "hooks.h" #include "host_command.h" +#include "system.h" #include "util.h" LOG_MODULE_REGISTER(shim_cros_rtc, LOG_LEVEL_ERR); @@ -135,7 +135,7 @@ void print_system_rtc(enum console_channel ch) * chip-specific code. We should factor out the common parts. */ #ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_RTC -static int command_system_rtc(int argc, char **argv) +static int command_system_rtc(int argc, const char **argv) { if (argc == 3 && !strcasecmp(argv[1], "set")) { char *e; @@ -160,7 +160,7 @@ DECLARE_CONSOLE_COMMAND(rtc, command_system_rtc, "[set <seconds>]", /** * Test the RTC alarm by setting an interrupt on RTC match. */ -static int command_rtc_alarm_test(int argc, char **argv) +static int command_rtc_alarm_test(int argc, const char **argv) { int s = 1, us = 0; char *e; |