mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 18:23:34 +00:00
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>
This commit is contained in:
parent
7b3dc45ea5
commit
f09144a220
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ static struct driver_info driver_info_manual = {
|
||||||
|
|
||||||
static struct driver_info driver_info_pre_reloc = {
|
static struct driver_info driver_info_pre_reloc = {
|
||||||
.name = "test_pre_reloc_drv",
|
.name = "test_pre_reloc_drv",
|
||||||
.platdata = &test_pdata_manual,
|
.platdata = &test_pdata_pre_reloc,
|
||||||
};
|
};
|
||||||
|
|
||||||
void dm_leak_check_start(struct unit_test_state *uts)
|
void dm_leak_check_start(struct unit_test_state *uts)
|
||||||
|
|
Loading…
Add table
Reference in a new issue