diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-11-28 10:00:45 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-12-01 00:03:08 +0000 |
commit | c50046ad633f1958107eead2b778422a2f33d7af (patch) | |
tree | 3636ac3fd90540f7b05fd8707407c038a0f2913e /board/dratini | |
parent | 9446042f202f9e03e8cd97807493b9eba3188ff1 (diff) | |
download | chrome-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/dratini')
-rw-r--r-- | board/dratini/board.c | 5 | ||||
-rw-r--r-- | board/dratini/led.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/board/dratini/board.c b/board/dratini/board.c index 84759b74b6..1f0a0ae899 100644 --- a/board/dratini/board.c +++ b/board/dratini/board.c @@ -35,8 +35,8 @@ #include "tablet_mode.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_pd.h" @@ -124,7 +124,8 @@ static void bc12_interrupt(enum gpio_signal signal) } } -#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 */ diff --git a/board/dratini/led.c b/board/dratini/led.c index 029ae11da8..035bd963d5 100644 --- a/board/dratini/led.c +++ b/board/dratini/led.c @@ -11,9 +11,9 @@ #include "chipset.h" #include "ec_commands.h" #include "gpio.h" +#include "hooks.h" #include "host_command.h" #include "led_common.h" -#include "hooks.h" #define BAT_LED_ON 0 #define BAT_LED_OFF 1 |