diff options
author | Tom Hughes <tomhughes@chromium.org> | 2023-03-15 11:54:56 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-15 22:36:13 +0000 |
commit | d826a966469853fc37d9b844b00c7ad680deaad9 (patch) | |
tree | 3e738b72648f4d88941dee3f9bf781298092d9b6 /test | |
parent | fe14c338c7837f649441a637665ac5ccc97dbd5f (diff) | |
download | chrome-ec-d826a966469853fc37d9b844b00c7ad680deaad9.tar.gz |
test/fpsensor_hw: Include config.h instead of board.h
When running clang-format (which rearranged headers), the build for the
fpsensor_hw started failing with
"Include config.h instead of board.h":
https://chromium.googlesource.com/chromiumos/platform/ec/+/3089e438e3a89aab1ca67c8488c6d7519f4ee630/include/config.h#5862
board.h shouldn't be included directly; instead we can just include
config.h, which includes board.h.
BRANCH=none
BUG=none
TEST=CQ passes
Change-Id: Id9dc6374ccaa34ae45b184f62eded6c84eb20cba
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4342815
Reviewed-by: Firas Sammoura <fsammoura@google.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/fpsensor_hw.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fpsensor_hw.cc b/test/fpsensor_hw.cc index 34867a0c32..559af6f939 100644 --- a/test/fpsensor_hw.cc +++ b/test/fpsensor_hw.cc @@ -4,9 +4,9 @@ */ #include "common.h" -#include "test_util.h" +#include "config.h" #include "fpc_private.h" -#include "board.h" +#include "test_util.h" #ifdef SECTION_IS_RW #include "fpc/fpc_sensor.h" |