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.
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user