diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-11-15 14:25:40 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-21 21:12:32 +0000 |
commit | 8f334860cd7bc8ceb7cf4e5c25b29a0d2754ac2e (patch) | |
tree | cbf55aed92d2d4b6b9aa9ec9af59454d4c976166 /zephyr/program | |
parent | e9f7e3195708b5970e05b94da9132ac829d0047f (diff) | |
download | chrome-ec-8f334860cd7bc8ceb7cf4e5c25b29a0d2754ac2e.tar.gz |
zephyr: Manually reorder includes
Embedded comments or preprocessor directives confuse clang format, and
it can't reorder the includes.
Manually fix these files to put the headers in order.
BRANCH=None
BUG=b:247100970
TEST=CQ
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: Ie5e0ec55712aab6cbc5446b0f81c7b653846084a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4032915
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/program')
-rw-r--r-- | zephyr/program/corsola/src/kingler/usbc_config.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/zephyr/program/corsola/src/kingler/usbc_config.c b/zephyr/program/corsola/src/kingler/usbc_config.c index 7531904c4a..5b243bae93 100644 --- a/zephyr/program/corsola/src/kingler/usbc_config.c +++ b/zephyr/program/corsola/src/kingler/usbc_config.c @@ -5,6 +5,11 @@ /* Kingler board-specific USB-C configuration */ +/* TODO(b/220196310): Create GPIO driver for RT17181S TCPC */ +#ifdef __REQUIRE_ZEPHYR_GPIOS__ +#undef __REQUIRE_ZEPHYR_GPIOS__ +#endif + #include "charger.h" #include "console.h" #include "driver/bc12/pi3usb9201_public.h" @@ -25,10 +30,6 @@ #include "baseboard_usbc_config.h" #include "variant_db_detection.h" -/* TODO(b/220196310): Create GPIO driver for RT17181S TCPC */ -#ifdef __REQUIRE_ZEPHYR_GPIOS__ -#undef __REQUIRE_ZEPHYR_GPIOS__ -#endif #include "gpio.h" #define CPRINTS(format, args...) cprints(CC_USBPD, format, ##args) |