From ac49fac880808e7c2e27adb55a6adb0c2b72c8ca 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_is_sourcing_vbus() This function prototype is defined in lots of 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: Ia324327a69b117483ab9ee5c85eba93c0fb5ad9c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789799 Reviewed-by: Jack Rosenthal --- board/pompom/board.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/pompom/board.h') diff --git a/board/pompom/board.h b/board/pompom/board.h index 81457fc5af..67ba34e155 100644 --- a/board/pompom/board.h +++ b/board/pompom/board.h @@ -97,8 +97,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -/* Custom function to indicate if sourcing VBUS */ -int board_is_sourcing_vbus(int port); /* Enable VBUS sink for a given port */ int board_vbus_sink_enable(int port, int enable); /* Reset all TCPCs. */ -- cgit v1.2.1