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

2022-01-18 Thread Tom Rini
On Sat, Jan 01, 2022 at 07:13:30PM +0200, 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

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

2022-01-01 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. Reviewed-by: Simon Glass Signed-off-by: Ovidiu