summaryrefslogtreecommitdiff
path: root/test/flash_physical.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/flash_physical.c')
-rw-r--r--test/flash_physical.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/flash_physical.c b/test/flash_physical.c
index 06dd495254..8136f6b5e3 100644
--- a/test/flash_physical.c
+++ b/test/flash_physical.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -30,7 +30,6 @@ struct flash_info flash_info = {
#error "Flash info not defined for this chip. Please add it."
#endif
-
test_static int test_lock_option_bytes(void)
{
TEST_EQ(flash_option_bytes_locked(), true, "%d");
@@ -119,7 +118,7 @@ test_static int test_flash_config(void)
return EC_SUCCESS;
}
-void run_test(int argc, char **argv)
+void run_test(int argc, const char **argv)
{
ccprintf("Running flash physical test\n");
RUN_TEST(test_flash_config);