[RESEND PATCH 6/7] common: board_r: include asm-generic/gpio.h
Simon Glass
sjg at chromium.org
Tue Dec 28 09:34:49 CET 2021
On Sat, 25 Dec 2021 at 12:57, Ovidiu Panait <ovidiu.panait at 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.panait at windriver.com>
> ---
>
> common/board_r.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list