summaryrefslogtreecommitdiff
path: root/include/usb_pd_tcpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r--include/usb_pd_tcpm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h
index 0441af6299..ba7b0ef8aa 100644
--- a/include/usb_pd_tcpm.h
+++ b/include/usb_pd_tcpm.h
@@ -392,8 +392,10 @@ struct tcpm_drv {
*
* @param port Type-C port number
* @param enable FRS enable (true) disable (false)
+ *
+ * @return EC_SUCCESS or error
*/
- void (*set_frs_enable)(int port, int enable);
+ int (*set_frs_enable)(int port, int enable);
/**
* Handle TCPCI Faults