]> git.baikalelectronics.ru Git - uboot.git/commit
test: Add udevice declaration to avoid build error
authorSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 17:53:08 +0000 (06:53 +1300)
committerTom Rini <trini@konsulko.com>
Sun, 28 Mar 2021 21:30:35 +0000 (17:30 -0400)
commitb925b646d670b72010c23a1f62ce563770c7ab32
tree5e0cf2c0f9c615ba880f1a6a87ce5f623d0a34f6
parent3533390c652f71c02d9bf176c4f3a6e56970172b
test: Add udevice declaration to avoid build error

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@chromium.org>
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/dm/test.h