]> git.ipfire.org Git - people/ms/u-boot.git/commit
test/dm/core.c: Make pre-reloc test use pre-reloc struct
authorTom Rini <trini@konsulko.com>
Sun, 20 Mar 2016 14:10:28 +0000 (10:10 -0400)
committerSimon Glass <sjg@chromium.org>
Thu, 14 Apr 2016 17:51:39 +0000 (11:51 -0600)
commitf09144a220ce71d628830f7ccadeacd0cfdf6d76
tree2244154c8e27ac1a064c2913ef9909509dac4426
parent7b3dc45ea5179b377c01c8f878c1633d707186c8
test/dm/core.c: Make pre-reloc test use pre-reloc struct

LLVM 3.5 noted:
test/dm/core.c:41:35: warning: unused variable 'test_pdata_pre_reloc' [-Wunused-const-variable]
static const struct dm_test_pdata test_pdata_pre_reloc = {

And the correct fix here is that the driver_info_pre_reloc test should
use the test_pdata_pre_reloc not test_pdata_manual variable

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/core.c