[PATCH] test: Add udevice declaration to avoid build error

Tom Rini trini at konsulko.com
Mon Mar 29 02:29:20 CEST 2021


On Sun, Mar 28, 2021 at 06:53:08AM +1300, Simon Glass wrote:

> When including this file on a board other than sandbox (e.g by enabling
> UNIT_TEST and CMD_SETEXPR) an results. Fix it by declaring struct udevice
> first.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

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/20210328/92193e8c/attachment.sig>


More information about the U-Boot mailing list