Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/54720 )
Change subject: dummyflasher.c: Make entry struct names consistent ......................................................................
dummyflasher.c: Make entry struct names consistent
Just make spi_master_dummyflasher and par_master_dummyflasher identifiers consistently named for easier parsing.
BUG=none BRANCH=none TEST=builds
Change-Id: Ib8ade96c47b4e4d358ba1fe34d06f22de326c60a Signed-off-by: Edward O'Callaghan quasisec@google.com --- M dummyflasher.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/20/54720/1
diff --git a/dummyflasher.c b/dummyflasher.c index e19e46c..127c632 100644 --- a/dummyflasher.c +++ b/dummyflasher.c @@ -622,7 +622,7 @@ .write_aai = default_spi_write_aai, };
-static struct par_master par_master_dummy = { +static struct par_master par_master_dummyflasher = { .chip_readb = dummy_chip_readb, .chip_readw = dummy_chip_readw, .chip_readl = dummy_chip_readl, @@ -674,7 +674,7 @@ } data->emu_chip = EMULATE_NONE; data->delay_us = 0; - par_master_dummy.data = data; + par_master_dummyflasher.data = data;
msg_pspew("%s\n", __func__);
@@ -1026,7 +1026,7 @@ return 1; } if (dummy_buses_supported & BUS_NONSPI) - register_par_master(&par_master_dummy, + register_par_master(&par_master_dummyflasher, dummy_buses_supported & BUS_NONSPI); if (dummy_buses_supported & BUS_SPI) register_spi_master(&spi_master_dummyflasher, data);