From 42ef503d37b18d907da16d26e99167566d5aabd1 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 03:19:35 -0800 Subject: 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. --- src/pld/virtex2.c | 4 ++-- src/pld/virtex2.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pld') 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 */ -- cgit v1.2.3