summaryrefslogtreecommitdiff
path: root/common/lid_switch.c
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-09 00:24:33 +0800
committerChromeBot <chrome-bot@google.com>2013-05-08 13:24:19 -0700
commita0bfc0c6698c01f722ed56bee8871f0620142db3 (patch)
tree23012995513931d68d5f358128eb9305cf8d333d /common/lid_switch.c
parentac3488cd0b41ade3dd38ec61c4b07db6489f2260 (diff)
downloadchrome-ec-a0bfc0c6698c01f722ed56bee8871f0620142db3.tar.gz
Add lid switch test and enable kb_mkbp test
BUG=chrome-os-partner:19236 TEST=Pass both tests BRANCH=None CQ-DEPEND=CL:50467 Change-Id: I59cc407c2d1bf7f549ff9c46226cf7fa60fe7157 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50466
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;
}