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/waddledee/board.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/waddledee/board.h') diff --git a/board/waddledee/board.h b/board/waddledee/board.h index 5540fdcbe7..aad6683ad8 100644 --- a/board/waddledee/board.h +++ b/board/waddledee/board.h @@ -143,8 +143,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -int board_is_sourcing_vbus(int port); - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ -- cgit v1.2.1