From c8f5bcc1ba0100ab7242898e5982b849b910ae90 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 28 Mar 2021 15:08:38 +1300 Subject: 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 Change-Id: I2f3f1e08614408e7b8f6bb0633a478765c73beaa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789800 Reviewed-by: Jack Rosenthal --- board/coachz/board.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/coachz/board.h') 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); -- cgit v1.2.1