summaryrefslogtreecommitdiff
path: root/board/primus/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/primus/board.c')
-rw-r--r--board/primus/board.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/board/primus/board.c b/board/primus/board.c
index 3f438cee00..2a8ff39ac7 100644
--- a/board/primus/board.c
+++ b/board/primus/board.c
@@ -5,11 +5,11 @@
#include "battery.h"
#include "button.h"
+#include "charge_manager.h"
#include "charge_ramp.h"
+#include "charge_state_v2.h"
#include "charger.h"
#include "common.h"
-#include "charge_manager.h"
-#include "charge_state_v2.h"
#include "compile_time_macros.h"
#include "console.h"
#include "fw_config.h"
@@ -18,8 +18,8 @@
#include "hooks.h"
#include "keyboard_8042_sharedlib.h"
#include "lid_switch.h"
-#include "power_button.h"
#include "power.h"
+#include "power_button.h"
#include "pwm.h"
#include "registers.h"
#include "switch.h"
@@ -27,7 +27,8 @@
#include "usbc_config.h"
#include "util.h"
-#include "gpio_list.h" /* Must come after other header files. */
+/* Must come after other header files and interrupt handler declarations */
+#include "gpio_list.h"
/* Console output macros */
#define CPRINTF(format, args...) cprintf(CC_CHARGER, format, ##args)