diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-28 15:08:38 +1300 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-31 05:20:12 +0000 |
commit | c8f5bcc1ba0100ab7242898e5982b849b910ae90 (patch) | |
tree | d09fe3209b47e48806de35ff27d00a929099efa0 /board/marzipan | |
parent | ac49fac880808e7c2e27adb55a6adb0c2b72c8ca (diff) | |
download | chrome-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/marzipan')
-rw-r--r-- | board/marzipan/board.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/marzipan/board.h b/board/marzipan/board.h index c1d1505908..bc070bc02f 100644 --- a/board/marzipan/board.h +++ b/board/marzipan/board.h @@ -100,8 +100,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); |