diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 03:28:03 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | d0809ac060b35a04e7f0bceb96e1868663bd18df (patch) | |
tree | 0159124f313879de7b193eee02183d9abd9854e5 /src/target/etm.c | |
parent | 42ef503d37b18d907da16d26e99167566d5aabd1 (diff) | |
download | riscv-openocd-d0809ac060b35a04e7f0bceb96e1868663bd18df.zip riscv-openocd-d0809ac060b35a04e7f0bceb96e1868663bd18df.tar.gz riscv-openocd-d0809ac060b35a04e7f0bceb96e1868663bd18df.tar.bz2 |
scan_field_t -> struct scan_field
Remove useless structure typedef.
Diffstat (limited to 'src/target/etm.c')
-rw-r--r-- | src/target/etm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etm.c b/src/target/etm.c index 6d34f6c..01a9b71 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -492,7 +492,7 @@ static int etm_read_reg_w_check(reg_t *reg, etm_reg_t *etm_reg = reg->arch_info; const struct etm_reg_info *r = etm_reg->reg_info; uint8_t reg_addr = r->addr & 0x7f; - scan_field_t fields[3]; + struct scan_field fields[3]; if (etm_reg->reg_info->mode == WO) { LOG_ERROR("BUG: can't read write-only register %s", r->name); @@ -578,7 +578,7 @@ static int etm_write_reg(reg_t *reg, uint32_t value) etm_reg_t *etm_reg = reg->arch_info; const struct etm_reg_info *r = etm_reg->reg_info; uint8_t reg_addr = r->addr & 0x7f; - scan_field_t fields[3]; + struct scan_field fields[3]; if (etm_reg->reg_info->mode == RO) { LOG_ERROR("BUG: can't write read--only register %s", r->name); |