summaryrefslogtreecommitdiff
path: root/test/inductive_charging.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/inductive_charging.c')
-rw-r--r--test/inductive_charging.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/inductive_charging.c b/test/inductive_charging.c
index d487e171fd..a5b23d1d8c 100644
--- a/test/inductive_charging.c
+++ b/test/inductive_charging.c
@@ -1,4 +1,4 @@
-/* Copyright 2014 The Chromium OS Authors. All rights reserved.
+/* Copyright 2014 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -17,8 +17,8 @@
#define START_CHARGE_DELAY 5000 /* ms */
#define MONITOR_CHARGE_DONE_DELAY 1000 /* ms */
-#define TEST_CHECK_CHARGE_DELAY (START_CHARGE_DELAY + \
- MONITOR_CHARGE_DONE_DELAY + 500) /* ms */
+#define TEST_CHECK_CHARGE_DELAY \
+ (START_CHARGE_DELAY + MONITOR_CHARGE_DONE_DELAY + 500) /* ms */
static void wait_for_lid_debounce(void)
{
@@ -157,7 +157,7 @@ static int test_debounce_charge_done(void)
return EC_SUCCESS;
}
-void run_test(int argc, char **argv)
+void run_test(int argc, const char **argv)
{
test_reset();