aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm966e.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 03:28:03 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:04 -0800
commitd0809ac060b35a04e7f0bceb96e1868663bd18df (patch)
tree0159124f313879de7b193eee02183d9abd9854e5 /src/target/arm966e.c
parent42ef503d37b18d907da16d26e99167566d5aabd1 (diff)
downloadriscv-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/arm966e.c')
-rw-r--r--src/target/arm966e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c
index b1fea08..d3ae9b2 100644
--- a/src/target/arm966e.c
+++ b/src/target/arm966e.c
@@ -72,7 +72,7 @@ static int arm966e_read_cp15(target_t *target, int reg_addr, uint32_t *value)
int retval = ERROR_OK;
struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target);
arm_jtag_t *jtag_info = &arm7_9->jtag_info;
- scan_field_t fields[3];
+ struct scan_field fields[3];
uint8_t reg_addr_buf = reg_addr & 0x3f;
uint8_t nr_w_buf = 0;
@@ -124,7 +124,7 @@ int arm966e_write_cp15(target_t *target, int reg_addr, uint32_t value)
int retval = ERROR_OK;
struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target);
arm_jtag_t *jtag_info = &arm7_9->jtag_info;
- scan_field_t fields[3];
+ struct scan_field fields[3];
uint8_t reg_addr_buf = reg_addr & 0x3f;
uint8_t nr_w_buf = 1;
uint8_t value_buf[4];