From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 28 Mar 2021 20:29:20 -0400 Subject: [PATCH] test: Add udevice declaration to avoid build error In-Reply-To: <20210327175308.1532024-1-sjg@chromium.org> References: <20210327175308.1532024-1-sjg@chromium.org> Message-ID: <20210329002920.GE1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reported-by: Heinrich Schuchardt 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: