summaryrefslogtreecommitdiff
path: root/test/fake_usbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fake_usbc.c')
-rw-r--r--test/fake_usbc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/fake_usbc.c b/test/fake_usbc.c
index 6a2cab09aa..1d9c42a97a 100644
--- a/test/fake_usbc.c
+++ b/test/fake_usbc.c
@@ -5,9 +5,9 @@
* Test USB Type-C module.
*/
#include "common.h"
+#include "usb_tc_sm.h"
#include "usb_pd.h"
#include "usb_pd_tcpm.h"
-#include "usb_tc_sm.h"
__overridable int pd_is_vbus_present(int port)
{
@@ -304,7 +304,7 @@ void dpm_set_mode_exit_request(int port)
{
}
-void dpm_run(int port, int evt, int enable)
+void dpm_run(int port)
{
}
@@ -351,10 +351,6 @@ void dpm_handle_alert(int port, uint32_t ado)
{
}
-void dpm_set_pe_ready(int port, bool enable)
-{
-}
-
static enum tcpc_rp_value lcl_rp;
__overridable void typec_select_src_current_limit_rp(int port,
enum tcpc_rp_value rp)