diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 03:19:35 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | 42ef503d37b18d907da16d26e99167566d5aabd1 (patch) | |
tree | 9349f3f4e101d334db57ec0f85fb88c93d187ca9 /src/pld | |
parent | 9f212b01be20da43ba534ad33b20419779c89335 (diff) | |
download | riscv-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/pld')
-rw-r--r-- | src/pld/virtex2.c | 4 | ||||
-rw-r--r-- | src/pld/virtex2.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 7e422fb..2d06a0e 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -26,7 +26,7 @@ #include "pld.h" -static int virtex2_set_instr(jtag_tap_t *tap, uint32_t new_instr) +static int virtex2_set_instr(struct jtag_tap *tap, uint32_t new_instr) { if (tap == NULL) return ERROR_FAIL; @@ -209,7 +209,7 @@ COMMAND_HANDLER(virtex2_handle_read_stat_command) PLD_DEVICE_COMMAND_HANDLER(virtex2_pld_device_command) { - jtag_tap_t *tap; + struct jtag_tap *tap; virtex2_pld_device_t *virtex2_info; diff --git a/src/pld/virtex2.h b/src/pld/virtex2.h index 65ad74a..2714dd7 100644 --- a/src/pld/virtex2.h +++ b/src/pld/virtex2.h @@ -24,7 +24,7 @@ typedef struct virtex2_pld_device_s { - jtag_tap_t *tap; + struct jtag_tap *tap; } virtex2_pld_device_t; #endif /* VIRTEX2_H */ |