summaryrefslogtreecommitdiff
path: root/board/ambassador
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/ambassador
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/ambassador')
-rw-r--r--board/ambassador/board.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/ambassador/board.c b/board/ambassador/board.c
index 3eff9215bc..5d667e47e1 100644
--- a/board/ambassador/board.c
+++ b/board/ambassador/board.c
@@ -36,8 +36,8 @@
#include "system.h"
#include "task.h"
#include "temp_sensor.h"
-#include "thermal.h"
#include "temp_sensor/thermistor.h"
+#include "thermal.h"
#include "uart.h"
#include "usb_charge.h"
#include "usb_common.h"
@@ -237,7 +237,8 @@ static void adp_state_init(void)
}
DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1);
-#include "gpio_list.h" /* Must come after other header files. */
+/* Must come after other header files and interrupt handler declarations */
+#include "gpio_list.h"
/******************************************************************************/
/* SPI devices */