mirror of
https://xff.cz/git/u-boot/
synced 2025-10-01 07:21:23 +02: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:
@@ -9,6 +9,8 @@
|
|||||||
#include <dm/test.h>
|
#include <dm/test.h>
|
||||||
#include <test/ut.h>
|
#include <test/ut.h>
|
||||||
|
|
||||||
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
static int dm_test_fdtdec_set_carveout(struct unit_test_state *uts)
|
static int dm_test_fdtdec_set_carveout(struct unit_test_state *uts)
|
||||||
{
|
{
|
||||||
struct fdt_memory resv;
|
struct fdt_memory resv;
|
||||||
|
Reference in New Issue
Block a user