From: Ovidiu Panait Date: Sat, 1 Jan 2022 17:13:30 +0000 (+0200) Subject: common: board_r: include asm-generic/gpio.h X-Git-Tag: v2025.01-rc5-pxa1908~1577^2~5 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=fd765b0eeb2c71e14b98724ac6696cbd551e85df;p=u-boot.git common: board_r: include asm-generic/gpio.h Not all architectures define and even on those that do, the header cannot be included for all boards without causing various build failures. Since common/board_r.c only needs gpio_hog_probe_all() declaration, include and drop the associated ifdef. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- diff --git a/common/board_r.c b/common/board_r.c index b891c84462..f607ce780b 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -66,9 +66,7 @@ #include #include #include -#if defined(CONFIG_GPIO_HOG) -#include -#endif +#include #ifdef CONFIG_EFI_SETUP_EARLY #include #endif