提交 3c2503ee 编写于 作者: S Simon Glass 提交者: Tom Rini

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: NSimon Glass <sjg@chromium.org>
Reported-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
上级 31637e0b
......@@ -6,6 +6,8 @@
#ifndef __DM_TEST_H
#define __DM_TEST_H
struct udevice;
/**
* struct dm_test_cdata - configuration data for test instance
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册