aboutsummaryrefslogtreecommitdiff
path: root/src/target/etb.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 03:19:35 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:04 -0800
commit42ef503d37b18d907da16d26e99167566d5aabd1 (patch)
tree9349f3f4e101d334db57ec0f85fb88c93d187ca9 /src/target/etb.c
parent9f212b01be20da43ba534ad33b20419779c89335 (diff)
downloadriscv-openocd-42ef503d37b18d907da16d26e99167566d5aabd1.zip
riscv-openocd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.gz
riscv-openocd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.bz2
jtag_tap_t -> struct jtag_tap
Search and destroy the jtag_tap_t typedef. This also cleans up a layering violation, removing the declaration from types.h.
Diffstat (limited to 'src/target/etb.c')
-rw-r--r--src/target/etb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etb.c b/src/target/etb.c
index c0c485f..3ad7397 100644
--- a/src/target/etb.c
+++ b/src/target/etb.c
@@ -44,7 +44,7 @@ static int etb_get_reg(reg_t *reg);
static int etb_set_instr(etb_t *etb, uint32_t new_instr)
{
- jtag_tap_t *tap;
+ struct jtag_tap *tap;
tap = etb->tap;
if (tap == NULL)
@@ -352,7 +352,7 @@ static int etb_write_reg(reg_t *reg, uint32_t value)
COMMAND_HANDLER(handle_etb_config_command)
{
target_t *target;
- jtag_tap_t *tap;
+ struct jtag_tap *tap;
struct arm *arm;
if (argc != 2)