mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
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>
This commit is contained in:
parent
31637e0bc0
commit
3c2503ee33
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
||||||
#ifndef __DM_TEST_H
|
#ifndef __DM_TEST_H
|
||||||
#define __DM_TEST_H
|
#define __DM_TEST_H
|
||||||
|
|
||||||
|
struct udevice;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct dm_test_cdata - configuration data for test instance
|
* struct dm_test_cdata - configuration data for test instance
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue