diff options
author | Sam Hurst <shurst@google.com> | 2020-05-04 11:49:39 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-09 02:42:22 +0000 |
commit | 4b38876725070d564ea784f08aa1f1c816230849 (patch) | |
tree | 6b6f78ea8251b1706ad6fe1800530e04cbe76b23 /include/usb_tc_sm.h | |
parent | dd5c0437677814b24f24628da23725ea731db03c (diff) | |
download | chrome-ec-4b38876725070d564ea784f08aa1f1c816230849.tar.gz |
TCPMv2: Guard all VCONN function with CONFIG_USBC_VCONN macro
Guard all VCONN related function that are ued in
the Policy Engine with the CONFIG_USBC_VCONN macro.
BUG=b:155656668
BRANCH=none
TEST=make -j buildall
Signed-off-by: Sam Hurst <shurst@google.com>
Change-Id: Ib46622126a577950d46b15af649c260a0790634a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2180426
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_tc_sm.h')
-rw-r--r-- | include/usb_tc_sm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/usb_tc_sm.h b/include/usb_tc_sm.h index 7f5ae8bde7..b6ed917d4d 100644 --- a/include/usb_tc_sm.h +++ b/include/usb_tc_sm.h @@ -232,7 +232,6 @@ int tc_src_power_on(int port); */ int tc_check_vconn_swap(int port); -#ifdef CONFIG_USBC_VCONN /** * Checks if VCONN is being sourced. * @@ -258,8 +257,6 @@ void pd_request_vconn_swap_on(int port); * @param port USB_C port number */ void pd_request_vconn_swap_off(int port); -#endif - /** * Returns the polarity of a Sink. |