diff options
Diffstat (limited to 'chip/stm32/usart_info_command.c')
-rw-r--r-- | chip/stm32/usart_info_command.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chip/stm32/usart_info_command.c b/chip/stm32/usart_info_command.c index 7b7dc1362a..ca73b51210 100644 --- a/chip/stm32/usart_info_command.c +++ b/chip/stm32/usart_info_command.c @@ -1,4 +1,4 @@ -/* Copyright 2015 The Chromium OS Authors. All rights reserved. +/* Copyright 2015 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * @@ -9,7 +9,7 @@ #include "console.h" #include "usart.h" -static int command_usart_info(int argc, char **argv) +static int command_usart_info(int argc, const char **argv) { struct usart_configs configs = usart_get_configs(); size_t i; @@ -39,7 +39,5 @@ static int command_usart_info(int argc, char **argv) return EC_SUCCESS; } -DECLARE_CONSOLE_COMMAND(usart_info, - command_usart_info, - NULL, +DECLARE_CONSOLE_COMMAND(usart_info, command_usart_info, NULL, "Display USART info"); |