diff mbox series

[v4,1/3] test/dm: fdtdec: Add the missing gd declaration

Message ID 1592891749-18937-1-git-send-email-bmeng.cn@gmail.com
State New
Headers show
Series [v4,1/3] test/dm: fdtdec: Add the missing gd declaration | expand

Commit Message

Bin Meng June 23, 2020, 5:55 a.m. UTC
From: Bin Meng <bin.meng at windriver.com>

Add DECLARE_GLOBAL_DATA_PTR since it is referenced in the test codes.

Signed-off-by: Bin Meng <bin.meng at windriver.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---

Changes in v4:
- drop the first 2 patches that are already applied
- rebase against u-boot/next branch

 test/dm/fdtdec.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/test/dm/fdtdec.c b/test/dm/fdtdec.c
index b2f75b5..c2f7b94 100644
--- a/test/dm/fdtdec.c
+++ b/test/dm/fdtdec.c
@@ -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;