mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
test/dm: fdtdec: Add the missing gd declaration
Add DECLARE_GLOBAL_DATA_PTR since it is referenced in the test codes. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
43913f01b9
commit
c9a1df027a
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
#include <dm/test.h>
|
||||
#include <test/ut.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
static int dm_test_fdtdec_set_carveout(struct unit_test_state *uts)
|
||||
{
|
||||
struct fdt_memory resv;
|
||||
|
|
Loading…
Add table
Reference in a new issue