summaryrefslogtreecommitdiff
path: root/include/extpower.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extpower.h')
-rw-r--r--include/extpower.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/extpower.h b/include/extpower.h
index 1e9f7976e6..08bec3f0bc 100644
--- a/include/extpower.h
+++ b/include/extpower.h
@@ -1,4 +1,4 @@
-/* Copyright 2013 The Chromium OS Authors. All rights reserved.
+/* Copyright 2013 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -10,7 +10,7 @@
#include "common.h"
-enum gpio_signal; /* from gpio_signal.h */
+enum gpio_signal; /* from gpio_signal.h */
/**
* Run board specific code to update extpower status. The default
@@ -21,7 +21,7 @@ __override_proto void board_check_extpower(void);
/**
* Return non-zero if external power is present.
*/
-int extpower_is_present(void);
+test_mockable int extpower_is_present(void);
/**
* Interrupt handler for external power GPIOs.
@@ -37,4 +37,4 @@ void extpower_interrupt(enum gpio_signal signal);
*/
void extpower_handle_update(int is_present);
-#endif /* __CROS_EC_EXTPOWER_H */
+#endif /* __CROS_EC_EXTPOWER_H */