summaryrefslogtreecommitdiff
path: root/common/usbc/usb_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbc/usb_mode.c')
-rw-r--r--common/usbc/usb_mode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/usbc/usb_mode.c b/common/usbc/usb_mode.c
index 017f89fc74..8f4824e4e9 100644
--- a/common/usbc/usb_mode.c
+++ b/common/usbc/usb_mode.c
@@ -9,6 +9,8 @@
* USB Power Delivery Specification Revision 3.0, Version 2.0 Section 6.4.8
*/
+#include <stdbool.h>
+#include <stdint.h>
#include "compile_time_macros.h"
#include "console.h"
#include "tcpm/tcpm.h"
@@ -17,15 +19,12 @@
#include "usb_mode.h"
#include "usb_mux.h"
#include "usb_pd.h"
-#include "usb_pd_dpm_sm.h"
+#include "usb_pd_dpm.h"
#include "usb_pd_tcpm.h"
#include "usb_pe_sm.h"
#include "usb_tbt_alt_mode.h"
#include "usbc_ppc.h"
-#include <stdbool.h>
-#include <stdint.h>
-
#ifdef CONFIG_COMMON_RUNTIME
#define CPRINTF(format, args...) cprintf(CC_USBPD, format, ##args)
#define CPRINTS(format, args...) cprints(CC_USBPD, format, ##args)