diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-03-04 14:50:27 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-16 21:50:50 +0000 |
commit | b902ab52f0926406ebaf0b6f80c3ecfb465b9909 (patch) | |
tree | d64ee0e42edbd594db050f59c015c5c7785c72a9 /board/ezkinil | |
parent | aa35a7fb4a18fbcd598fa9b67add8c8a5c74a46a (diff) | |
download | chrome-ec-b902ab52f0926406ebaf0b6f80c3ecfb465b9909.tar.gz |
board/zork: Re-order includes so that enum definition comes before use
C++ doesn't allow forward enum references.
BRANCH=none
BUG=b:144959033
TEST=make buildall
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I7e1f8890005e05136eeb4e5084505988dbbb15b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2740566
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/ezkinil')
-rw-r--r-- | board/ezkinil/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ezkinil/board.h b/board/ezkinil/board.h index 9a7e63af9a..a7b9e05f61 100644 --- a/board/ezkinil/board.h +++ b/board/ezkinil/board.h @@ -103,7 +103,6 @@ enum usba_port { /***************************************************************************** * CBI EC FW Configuration */ -#include "cbi_ec_fw_config.h" /** * EZKINIL_MB_USBAC @@ -148,6 +147,7 @@ enum ec_cfg_usb_db_type { EZKINIL_DB_T_OPT2_USBAC = 1, }; +#include "cbi_ec_fw_config.h" #define HAS_USBA1_RETIMER_TUSB522 \ (BIT(EZKINIL_DB_T_OPT2_USBAC)) |