From patchwork Wed Jun 10 05:36:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 242032 List-Id: U-Boot discussion From: bmeng.cn at gmail.com (Bin Meng) Date: Tue, 9 Jun 2020 22:36:29 -0700 Subject: [PATCH v3 3/5] test/dm: fdtdec: Add the missing gd declaration In-Reply-To: <1591767391-2669-1-git-send-email-bmeng.cn@gmail.com> References: <1591767391-2669-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1591767391-2669-3-git-send-email-bmeng.cn@gmail.com> From: Bin Meng Add DECLARE_GLOBAL_DATA_PTR since it is referenced in the test codes. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- (no changes since v1) test/dm/fdtdec.c | 2 ++ 1 file changed, 2 insertions(+) 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 #include +DECLARE_GLOBAL_DATA_PTR; + static int dm_test_fdtdec_set_carveout(struct unit_test_state *uts) { struct fdt_memory resv;