Edward O'Callaghan has uploaded this change for review.

View Change

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);

To view, visit change 54720. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib8ade96c47b4e4d358ba1fe34d06f22de326c60a
Gerrit-Change-Number: 54720
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange