From d0ec94203fa0ae68f680f6b106a971a89dfbe78f Mon Sep 17 00:00:00 2001 From: Alexandru M Stan Date: Thu, 5 Mar 2015 16:48:23 -0800 Subject: motion_sense: Add required header include/motion_lid.h is generally included by board.c in the various boards. But include/motion_lid.h actually needs host_command.h defined or else including it in board.c will cause a confusing error. This probably doesn't show up on other platforms like samus and glimmer because they define a few custom commands in board.c, but veyron doesn't need that. motion_lid ought to just include it directly if it really needs it. BUG=None, see next commits in the series, they won't compile without this TEST=See series BRANCH=veyron Change-Id: I42e966d891dbbcca7df484b59c9d1bb35d1357bc Signed-off-by: Alexandru M Stan Reviewed-on: https://chromium-review.googlesource.com/256696 Reviewed-by: Gwendal Grignou --- include/motion_lid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/motion_lid.h b/include/motion_lid.h index 8ccf27191e..b005688bb7 100644 --- a/include/motion_lid.h +++ b/include/motion_lid.h @@ -8,6 +8,8 @@ #ifndef __CROS_EC_MOTION_LID_H #define __CROS_EC_MOTION_LID_H +#include "host_command.h" + /* Anything outside of lid angle range [-180, 180] should work. */ #define LID_ANGLE_UNRELIABLE 500 -- cgit v1.2.1