summaryrefslogtreecommitdiff
path: root/include/motion_lid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/motion_lid.h')
-rw-r--r--include/motion_lid.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/motion_lid.h b/include/motion_lid.h
index 155c7735c9..405d5e5e5d 100644
--- a/include/motion_lid.h
+++ b/include/motion_lid.h
@@ -46,6 +46,12 @@ int host_cmd_motion_lid(struct host_cmd_handler_args *args);
void motion_lid_calc(void);
+#ifdef CONFIG_LID_ANGLE_TABLET_MODE
+int motion_lid_in_tablet_mode(void);
+#else
+static inline int motion_lid_in_tablet_mode(void) { return 0; }
+#endif
+
#endif /* __CROS_EC_MOTION_LID_H */