From: Bin Meng Date: Tue, 23 Jun 2020 05:55:47 +0000 (-0700) Subject: test/dm: fdtdec: Add the missing gd declaration X-Git-Tag: v2025.01-rc5-pxa1908~2313^2~16 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=c9a1df027abb831af35db2810c1a4f45b13cee79;p=u-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/test/dm/fdtdec.c b/test/dm/fdtdec.c index b2f75b5843..c2f7b94805 100644 --- a/test/dm/fdtdec.c +++ b/test/dm/fdtdec.c @@ -9,6 +9,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + static int dm_test_fdtdec_set_carveout(struct unit_test_state *uts) { struct fdt_memory resv;