summaryrefslogtreecommitdiff
path: root/driver/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ppc')
-rw-r--r--driver/ppc/ktu1125.c4
-rw-r--r--driver/ppc/ktu1125.h1
-rw-r--r--driver/ppc/nx20p348x.c4
-rw-r--r--driver/ppc/sn5s330.c4
-rw-r--r--driver/ppc/sn5s330.h1
-rw-r--r--driver/ppc/syv682x.c4
6 files changed, 10 insertions, 8 deletions
diff --git a/driver/ppc/ktu1125.c b/driver/ppc/ktu1125.c
index f90168adef..047d011aac 100644
--- a/driver/ppc/ktu1125.c
+++ b/driver/ppc/ktu1125.c
@@ -7,14 +7,14 @@
#include "common.h"
#include "console.h"
+#include "ktu1125.h"
#include "hooks.h"
#include "i2c.h"
-#include "ktu1125.h"
#include "system.h"
#include "timer.h"
#include "usb_charge.h"
-#include "usb_pd.h"
#include "usb_pd_tcpm.h"
+#include "usb_pd.h"
#include "usbc_ppc.h"
#include "util.h"
diff --git a/driver/ppc/ktu1125.h b/driver/ppc/ktu1125.h
index 9957ed80ec..229c894b8c 100644
--- a/driver/ppc/ktu1125.h
+++ b/driver/ppc/ktu1125.h
@@ -9,6 +9,7 @@
#define __CROS_EC_KTU1125_H
#include "common.h"
+
#include "driver/ppc/ktu1125_public.h"
#define KTU1125_ID 0x0
diff --git a/driver/ppc/nx20p348x.c b/driver/ppc/nx20p348x.c
index 14dfb88e02..d202898a85 100644
--- a/driver/ppc/nx20p348x.c
+++ b/driver/ppc/nx20p348x.c
@@ -7,15 +7,15 @@
#include "common.h"
#include "console.h"
+#include "nx20p348x.h"
#include "gpio.h"
#include "hooks.h"
#include "i2c.h"
-#include "nx20p348x.h"
#include "system.h"
#include "tcpm/tcpm.h"
#include "usb_charge.h"
-#include "usb_pd.h"
#include "usb_pd_tcpm.h"
+#include "usb_pd.h"
#include "usbc_ppc.h"
#include "util.h"
diff --git a/driver/ppc/sn5s330.c b/driver/ppc/sn5s330.c
index 9404c8df76..385f27fe52 100644
--- a/driver/ppc/sn5s330.c
+++ b/driver/ppc/sn5s330.c
@@ -12,14 +12,14 @@
#include "common.h"
#include "console.h"
+#include "sn5s330.h"
#include "hooks.h"
#include "i2c.h"
-#include "sn5s330.h"
#include "system.h"
#include "timer.h"
#include "usb_charge.h"
-#include "usb_pd.h"
#include "usb_pd_tcpm.h"
+#include "usb_pd.h"
#include "usbc_ppc.h"
#include "util.h"
diff --git a/driver/ppc/sn5s330.h b/driver/ppc/sn5s330.h
index 3748370007..70a46920ee 100644
--- a/driver/ppc/sn5s330.h
+++ b/driver/ppc/sn5s330.h
@@ -9,6 +9,7 @@
#define __CROS_EC_SN5S330_H
#include "common.h"
+
#include "driver/ppc/sn5s330_public.h"
struct sn5s330_config {
diff --git a/driver/ppc/syv682x.c b/driver/ppc/syv682x.c
index 42488a4a26..88c6443ad0 100644
--- a/driver/ppc/syv682x.c
+++ b/driver/ppc/syv682x.c
@@ -8,17 +8,17 @@
#include "common.h"
#include "config.h"
#include "console.h"
+#include "syv682x.h"
#include "gpio.h"
#include "hooks.h"
#include "i2c.h"
#include "system.h"
-#include "syv682x.h"
#include "tcpm/tcpm.h"
#include "timer.h"
#include "usb_charge.h"
-#include "usb_pd.h"
#include "usb_pd_tcpm.h"
#include "usbc_ppc.h"
+#include "usb_pd.h"
#include "util.h"
#define SYV682X_FLAGS_SOURCE_ENABLED BIT(0)