On Sat, 25 Dec 2021 at 12:57, Ovidiu Panait <ovidiu.pan...@windriver.com> wrote:
>
> Not all architectures define <asm/gpio.h> 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
> <asm-generic/gpio.h> and drop the associated ifdef.
>
> Signed-off-by: Ovidiu Panait <ovidiu.pan...@windriver.com>
> ---
>
>  common/board_r.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to