summaryrefslogtreecommitdiff
path: root/src/pld
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/pld
parent9f212b01be20da43ba534ad33b20419779c89335 (diff)
downloadopenocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.gz
openocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.bz2
openocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.xz
openocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.zip
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.c4
-rw-r--r--src/pld/virtex2.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index 7e422fb9..2d06a0e9 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 65ad74ab..2714dd75 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 */