summaryrefslogtreecommitdiff
path: root/board/coachz/board.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-28 15:08:38 +1300
committerCommit Bot <commit-bot@chromium.org>2021-03-31 05:20:12 +0000
commitc8f5bcc1ba0100ab7242898e5982b849b910ae90 (patch)
treed09fe3209b47e48806de35ff27d00a929099efa0 /board/coachz/board.h
parentac49fac880808e7c2e27adb55a6adb0c2b72c8ca (diff)
downloadchrome-ec-c8f5bcc1ba0100ab7242898e5982b849b910ae90.tar.gz
Add a common header for board_vbus_sink_enable()
This function prototype is defined in quite a few files, none of which is visible to Zephyr. Add a prototype in one place and remove the others. BUG=b:183296099 BRANCH=none TEST=make buildall Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I2f3f1e08614408e7b8f6bb0633a478765c73beaa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789800 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'board/coachz/board.h')
-rw-r--r--board/coachz/board.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/coachz/board.h b/board/coachz/board.h
index d31101c801..bc4b452b04 100644
--- a/board/coachz/board.h
+++ b/board/coachz/board.h
@@ -107,8 +107,6 @@ enum battery_type {
BATTERY_TYPE_COUNT,
};
-/* Enable VBUS sink for a given port */
-int board_vbus_sink_enable(int port, int enable);
/* Reset all TCPCs. */
void board_reset_pd_mcu(void);
void board_set_tcpc_power_mode(int port, int mode);