summaryrefslogtreecommitdiff
path: root/common/power_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/power_button.c')
-rw-r--r--common/power_button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/power_button.c b/common/power_button.c
index 993ad40a6c..e2914bc362 100644
--- a/common/power_button.c
+++ b/common/power_button.c
@@ -77,7 +77,7 @@ int power_button_is_pressed(void)
* @return EC_SUCCESS if ok, or
* EC_ERROR_TIMEOUT if power button failed to release
*/
-int power_button_wait_for_release(unsigned int timeout_us)
+int power_button_wait_for_release(int timeout_us)
{
timestamp_t deadline;
timestamp_t now = get_time();