Re: [RESEND PATCH 6/7] common: board_r: include asm-generic/gpio.h

2021-12-28 Thread Simon Glass
On Sat, 25 Dec 2021 at 12:57, Ovidiu Panait wrote: > > 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 a

[RESEND PATCH 6/7] common: board_r: include asm-generic/gpio.h

2021-12-25 Thread Ovidiu Panait
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. Signed-off-by: Ovidiu Panait --- common/boar