summaryrefslogtreecommitdiff
path: root/common/lid_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/lid_switch.c')
-rw-r--r--common/lid_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lid_switch.c b/common/lid_switch.c
index 8e1e1bf082..80e3dbfbaa 100644
--- a/common/lid_switch.c
+++ b/common/lid_switch.c
@@ -64,7 +64,7 @@ static void lid_switch_close(void)
host_set_single_event(EC_HOST_EVENT_LID_CLOSED);
}
-int lid_is_open(void)
+test_mockable int lid_is_open(void)
{
return debounced_lid_open;
}