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

Tom Rini trini at konsulko.com
Tue Jan 18 18:40:45 CET 2022


On Sat, Jan 01, 2022 at 07:13:30PM +0200, Ovidiu Panait 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.
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220118/0a278ea5/attachment.sig>


More information about the U-Boot mailing list