diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:40:31 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:09 -0800 |
commit | f96d6054e65708e7abdceac673f1a18fec3204b6 (patch) | |
tree | 34ce626ed93a171a8309c0f3f993a2ae802ba2e7 /src/target/armv7m.c | |
parent | 6ba48a1b44d34e445af17ae66efb7e168f911a0f (diff) | |
download | riscv-openocd-f96d6054e65708e7abdceac673f1a18fec3204b6.zip riscv-openocd-f96d6054e65708e7abdceac673f1a18fec3204b6.tar.gz riscv-openocd-f96d6054e65708e7abdceac673f1a18fec3204b6.tar.bz2 |
swjdp_common_t -> struct swjdp_common
Remove misleading typedef and redundant suffix from struct swjdp_common.
Diffstat (limited to 'src/target/armv7m.c')
-rw-r--r-- | src/target/armv7m.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c index 0e3c8a9..62be15e 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -749,7 +749,7 @@ COMMAND_HANDLER(handle_dap_baseaddr_command) { target_t *target = get_current_target(cmd_ctx); struct armv7m_common_s *armv7m = target_to_armv7m(target); - swjdp_common_t *swjdp = &armv7m->swjdp_info; + struct swjdp_common *swjdp = &armv7m->swjdp_info; uint32_t apsel, apselsave, baseaddr; int retval; @@ -786,7 +786,7 @@ COMMAND_HANDLER(handle_dap_apid_command) { target_t *target = get_current_target(cmd_ctx); struct armv7m_common_s *armv7m = target_to_armv7m(target); - swjdp_common_t *swjdp = &armv7m->swjdp_info; + struct swjdp_common *swjdp = &armv7m->swjdp_info; return CALL_COMMAND_HANDLER(dap_apid_command, swjdp); } @@ -795,7 +795,7 @@ COMMAND_HANDLER(handle_dap_apsel_command) { target_t *target = get_current_target(cmd_ctx); struct armv7m_common_s *armv7m = target_to_armv7m(target); - swjdp_common_t *swjdp = &armv7m->swjdp_info; + struct swjdp_common *swjdp = &armv7m->swjdp_info; return CALL_COMMAND_HANDLER(dap_apsel_command, swjdp); } @@ -804,7 +804,7 @@ COMMAND_HANDLER(handle_dap_memaccess_command) { target_t *target = get_current_target(cmd_ctx); struct armv7m_common_s *armv7m = target_to_armv7m(target); - swjdp_common_t *swjdp = &armv7m->swjdp_info; + struct swjdp_common *swjdp = &armv7m->swjdp_info; return CALL_COMMAND_HANDLER(dap_memaccess_command, swjdp); } @@ -814,7 +814,7 @@ COMMAND_HANDLER(handle_dap_info_command) { target_t *target = get_current_target(cmd_ctx); struct armv7m_common_s *armv7m = target_to_armv7m(target); - swjdp_common_t *swjdp = &armv7m->swjdp_info; + struct swjdp_common *swjdp = &armv7m->swjdp_info; uint32_t apsel; switch (argc) { |