summaryrefslogtreecommitdiff
path: root/board/coffeecake
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-11-28 10:00:45 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-01 00:03:08 +0000
commitc50046ad633f1958107eead2b778422a2f33d7af (patch)
tree3636ac3fd90540f7b05fd8707407c038a0f2913e /board/coffeecake
parent9446042f202f9e03e8cd97807493b9eba3188ff1 (diff)
downloadchrome-ec-c50046ad633f1958107eead2b778422a2f33d7af.tar.gz
board: Sort header files
Sort all includes in board with the clang-format rules used by the zephyr project. BRANCH=None BUG=b:247100970 TEST=zmake build -a TEST=./twister --clobber -v -i TEST=make -j72 buildall_only runtests TEST=zmake compare-builds -a Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I6ad72b167cbb768a64c338fa633eb4bf5a401897 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4060360 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/coffeecake')
-rw-r--r--board/coffeecake/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/coffeecake/board.c b/board/coffeecake/board.c
index 05cba7e4f7..441f95d21b 100644
--- a/board/coffeecake/board.c
+++ b/board/coffeecake/board.c
@@ -16,10 +16,10 @@
#include "mcdp28x0.h"
#include "registers.h"
#include "task.h"
+#include "timer.h"
#include "usb_bb.h"
#include "usb_descriptor.h"
#include "usb_pd.h"
-#include "timer.h"
#include "util.h"
static volatile uint64_t hpd_prev_ts;
@@ -27,6 +27,7 @@ static volatile int hpd_prev_level;
void hpd_event(enum gpio_signal signal);
void vbus_event(enum gpio_signal signal);
+/* Must come after other header files and interrupt handler declarations */
#include "gpio_list.h"
/* I2C ports */