summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index 84d98dff9b..659fc5cd54 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -153,8 +153,9 @@ void pd_request_source_voltage(int mv);
/*
* Verify board specific health status : current, voltages...
*
+ * @return EC_SUCCESS if the board is good, <0 else.
*/
-void pd_board_checks(void);
+int pd_board_checks(void);
/* Power Data Objects for the source and the sink */
extern const uint32_t pd_src_pdo[];