diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 03:28:03 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | d0809ac060b35a04e7f0bceb96e1868663bd18df (patch) | |
tree | 0159124f313879de7b193eee02183d9abd9854e5 /src/pld/virtex2.c | |
parent | 42ef503d37b18d907da16d26e99167566d5aabd1 (diff) | |
download | riscv-openocd-d0809ac060b35a04e7f0bceb96e1868663bd18df.zip riscv-openocd-d0809ac060b35a04e7f0bceb96e1868663bd18df.tar.gz riscv-openocd-d0809ac060b35a04e7f0bceb96e1868663bd18df.tar.bz2 |
scan_field_t -> struct scan_field
Remove useless structure typedef.
Diffstat (limited to 'src/pld/virtex2.c')
-rw-r--r-- | src/pld/virtex2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 2d06a0e..56b4eee 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -33,7 +33,7 @@ static int virtex2_set_instr(struct jtag_tap *tap, uint32_t new_instr) if (buf_get_u32(tap->cur_instr, 0, tap->ir_length) != new_instr) { - scan_field_t field; + struct scan_field field; field.tap = tap; field.num_bits = tap->ir_length; @@ -53,7 +53,7 @@ static int virtex2_send_32(struct pld_device_s *pld_device, int num_words, uint32_t *words) { virtex2_pld_device_t *virtex2_info = pld_device->driver_priv; - scan_field_t scan_field; + struct scan_field scan_field; uint8_t *values; int i; @@ -86,7 +86,7 @@ static int virtex2_receive_32(struct pld_device_s *pld_device, int num_words, uint32_t *words) { virtex2_pld_device_t *virtex2_info = pld_device->driver_priv; - scan_field_t scan_field; + struct scan_field scan_field; scan_field.tap = virtex2_info->tap; scan_field.num_bits = 32; @@ -137,7 +137,7 @@ static int virtex2_load(struct pld_device_s *pld_device, const char *filename) xilinx_bit_file_t bit_file; int retval; unsigned int i; - scan_field_t field; + struct scan_field field; field.tap = virtex2_info->tap; field.in_value = NULL; |