]> Git Repo - J-u-boot.git/commitdiff
test/dm: fdtdec: Add the missing gd declaration
authorBin Meng <[email protected]>
Tue, 23 Jun 2020 05:55:47 +0000 (22:55 -0700)
committerSimon Glass <[email protected]>
Fri, 10 Jul 2020 00:57:22 +0000 (18:57 -0600)
Add DECLARE_GLOBAL_DATA_PTR since it is referenced in the test codes.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
test/dm/fdtdec.c

index b2f75b58431d02c058569021042c9e64195ebbb1..c2f7b9480513cfa250870e406519d59350486e8d 100644 (file)
@@ -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;
This page took 0.031897 seconds and 4 git commands to generate.