target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
|
||||
static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_tap,
|
||||
static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct targetap,
|
||||
int num_fields,
|
||||
const int *num_bits,
|
||||
const uint32_t *value,
|
||||
@@ -29,7 +29,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_ta
|
||||
/* synchronously do the operation here */
|
||||
}
|
||||
|
||||
static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
|
||||
static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *struct targetap,
|
||||
int num_fields,
|
||||
const int *num_bits,
|
||||
const uint32_t *value,
|
||||
|
||||
@@ -148,7 +148,7 @@ static __inline__ void shiftValueInner(const enum tap_state state, const enum ta
|
||||
|
||||
|
||||
|
||||
static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_tap,
|
||||
static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct targetap,
|
||||
int num_fields,
|
||||
const int *num_bits,
|
||||
const uint32_t *value,
|
||||
@@ -164,7 +164,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_ta
|
||||
{
|
||||
pause_state = end_state;
|
||||
}
|
||||
if (tap == target_tap)
|
||||
if (tap == struct targetap)
|
||||
{
|
||||
int j;
|
||||
for (j = 0; j < (num_fields-1); j++)
|
||||
@@ -180,7 +180,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_ta
|
||||
}
|
||||
}
|
||||
|
||||
static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
|
||||
static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *struct targetap,
|
||||
int num_fields,
|
||||
const int *num_bits,
|
||||
const uint32_t *value,
|
||||
@@ -201,7 +201,7 @@ static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
|
||||
shiftValueInner(TAP_DRSHIFT, end_state, num_bits[1], value[1]);
|
||||
} else
|
||||
{
|
||||
interface_jtag_add_dr_out_core(target_tap, num_fields, num_bits, value, end_state);
|
||||
interface_jtag_add_dr_out_core(struct targetap, num_fields, num_bits, value, end_state);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user