summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2020-02-10 16:00:42 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-12 20:05:31 +0000
commit7460621eae83145ea57d42c0eb6daf486286f234 (patch)
treedb327d2b2bcf77442f6d7f5284ab55247cbb7515 /include/usb_pd.h
parente34464e92cc0d13e1fc4a7647897bf534be52444 (diff)
downloadchrome-ec-7460621eae83145ea57d42c0eb6daf486286f234.tar.gz
TCPMv1/v2: Move pd_check_requested_voltage() to common file
BUG=b:148528713 BRANCH=none TEST=make buildall -j Change-Id: I5ba854552b5c6124e3c6758273651edc0e3c23ae Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2051214 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index 813f13389a..7e3ad705df 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -1365,7 +1365,7 @@ int pd_check_requested_voltage(uint32_t rdo, const int port);
* @param pdo_cnt the total number of source PDOs.
* @return EC_SUCCESS if request is ok , <0 else.
*/
-int pd_board_check_request(uint32_t rdo, int pdo_cnt);
+__override_proto int pd_board_check_request(uint32_t rdo, int pdo_cnt);
/**
* Select a new output voltage.