diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:15:00 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:08 -0800 |
commit | 95bf461c0af385fc6b3abfff610e5510534ef571 (patch) | |
tree | 5c273e69025aa2e56cb1e1d3eb9f25d65c3546af /src/pld/virtex2.c | |
parent | db08ab8a792a09399d2ffe362f580683ff102707 (diff) |
pld_device_t -> struct pld_device
Remove misleading typedef and redundant suffix from struct pld_device.
Diffstat (limited to 'src/pld/virtex2.c')
-rw-r--r-- | src/pld/virtex2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 2e5a8414..e2ebb041 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -49,7 +49,7 @@ static int virtex2_set_instr(struct jtag_tap *tap, uint32_t new_instr) return ERROR_OK; } -static int virtex2_send_32(struct pld_device_s *pld_device, +static int virtex2_send_32(struct pld_device *pld_device, int num_words, uint32_t *words) { struct virtex2_pld_device *virtex2_info = pld_device->driver_priv; @@ -82,7 +82,7 @@ static __inline__ void virtexflip32(jtag_callback_data_t arg) *((uint32_t *)in) = flip_u32(le_to_h_u32(in), 32); } -static int virtex2_receive_32(struct pld_device_s *pld_device, +static int virtex2_receive_32(struct pld_device *pld_device, int num_words, uint32_t *words) { struct virtex2_pld_device *virtex2_info = pld_device->driver_priv; @@ -109,7 +109,7 @@ static int virtex2_receive_32(struct pld_device_s *pld_device, return ERROR_OK; } -static int virtex2_read_stat(struct pld_device_s *pld_device, uint32_t *status) +static int virtex2_read_stat(struct pld_device *pld_device, uint32_t *status) { uint32_t data[5]; @@ -131,7 +131,7 @@ static int virtex2_read_stat(struct pld_device_s *pld_device, uint32_t *status) return ERROR_OK; } -static int virtex2_load(struct pld_device_s *pld_device, const char *filename) +static int virtex2_load(struct pld_device *pld_device, const char *filename) { struct virtex2_pld_device *virtex2_info = pld_device->driver_priv; struct xilinx_bit_file bit_file; @@ -179,7 +179,7 @@ static int virtex2_load(struct pld_device_s *pld_device, const char *filename) COMMAND_HANDLER(virtex2_handle_read_stat_command) { - pld_device_t *device; + struct pld_device *device; struct virtex2_pld_device *virtex2_info; uint32_t status; |