diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2019-03-15 10:15:46 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-26 04:42:53 -0700 |
commit | 0bfc511527cf2aebfa163c63a1d028419ca0b0c3 (patch) | |
tree | 7ae98758dec1c06fc0e9c7ba603e160f9051b2b3 /include/button.h | |
parent | 8c6e95303832f7d445b415f1a1c0b0e34487ab2f (diff) | |
download | chrome-ec-0bfc511527cf2aebfa163c63a1d028419ca0b0c3.tar.gz |
common: Include compile_time_macros.h when needed
Include compile_time_macros.h to files that will use BIT macro.
BUG=None
BRANCH=None
TEST=unit tests.
Change-Id: I9d44f4b588620f6770f8d522d422f5dd0d237903
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1525156
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/button.h')
-rw-r--r-- | include/button.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/button.h b/include/button.h index 29b648eb60..5fca2e9037 100644 --- a/include/button.h +++ b/include/button.h @@ -9,6 +9,7 @@ #define __CROS_EC_BUTTON_H #include "common.h" +#include "compile_time_macros.h" #include "gpio.h" #define BUTTON_FLAG_ACTIVE_HIGH (1 << 0) |