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/berknip | |
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/berknip')
-rw-r--r-- | board/berknip/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/berknip/board.h b/board/berknip/board.h index bad24c95ac..368084fa25 100644 --- a/board/berknip/board.h +++ b/board/berknip/board.h @@ -99,7 +99,6 @@ enum usba_port { /***************************************************************************** * CBI EC FW Configuration */ -#include "cbi_ec_fw_config.h" /** * BERKNIP_MB_USBAC @@ -146,6 +145,7 @@ enum ec_cfg_usb_db_type { BERKNIP_DB_T_OPT3_USBAC_HDMI_MSTHUB = 1, }; +#include "cbi_ec_fw_config.h" #define HAS_USBC1_RETIMER_PS8743 \ (BIT(BERKNIP_DB_T_OPT3_USBAC_HDMI_MSTHUB)) |