summaryrefslogtreecommitdiff
path: root/src/jtag/driver.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:30:28 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commit2ddeec9db5a8771c948294b7194778a95295b7a0 (patch)
tree93b4c1fc66ac94c8edae4b0857471dc3a8afcda6 /src/jtag/driver.c
parent4a29f8e21d4932ddf6523ccf23463d8636ad05a9 (diff)
downloadopenocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.tar.gz
openocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.tar.bz2
openocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.tar.xz
openocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.zip
scan_command_t -> struct scan_command
Remove misleading typedef on struct scan_command.
Diffstat (limited to 'src/jtag/driver.c')
-rw-r--r--src/jtag/driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/driver.c b/src/jtag/driver.c
index de7b789e..d50ae905 100644
--- a/src/jtag/driver.c
+++ b/src/jtag/driver.c
@@ -78,7 +78,7 @@ int interface_jtag_add_ir_scan(int in_num_fields, const struct scan_field *in_fi
size_t num_taps = jtag_tap_count_enabled();
jtag_command_t * cmd = cmd_queue_alloc(sizeof(jtag_command_t));
- scan_command_t * scan = cmd_queue_alloc(sizeof(scan_command_t));
+ struct scan_command * scan = cmd_queue_alloc(sizeof(struct scan_command));
struct scan_field * out_fields = cmd_queue_alloc(num_taps * sizeof(struct scan_field));
jtag_queue_command(cmd);
@@ -151,7 +151,7 @@ int interface_jtag_add_plain_ir_scan(int in_num_fields, const struct scan_field
{
jtag_command_t * cmd = cmd_queue_alloc(sizeof(jtag_command_t));
- scan_command_t * scan = cmd_queue_alloc(sizeof(scan_command_t));
+ struct scan_command * scan = cmd_queue_alloc(sizeof(struct scan_command));
struct scan_field * out_fields = cmd_queue_alloc(in_num_fields * sizeof(struct scan_field));
jtag_queue_command(cmd);
@@ -189,7 +189,7 @@ int interface_jtag_add_dr_scan(int in_num_fields, const struct scan_field *in_fi
}
jtag_command_t * cmd = cmd_queue_alloc(sizeof(jtag_command_t));
- scan_command_t * scan = cmd_queue_alloc(sizeof(scan_command_t));
+ struct scan_command * scan = cmd_queue_alloc(sizeof(struct scan_command));
struct scan_field * out_fields = cmd_queue_alloc((in_num_fields + bypass_devices) * sizeof(struct scan_field));
jtag_queue_command(cmd);
@@ -279,7 +279,7 @@ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
jtag_command_t * cmd = cmd_queue_alloc(sizeof(jtag_command_t));
- scan_command_t * scan = cmd_queue_alloc(sizeof(scan_command_t));
+ struct scan_command * scan = cmd_queue_alloc(sizeof(struct scan_command));
struct scan_field * out_fields = cmd_queue_alloc((in_num_fields + bypass_devices) * sizeof(struct scan_field));
jtag_queue_command(cmd);
@@ -347,7 +347,7 @@ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
int interface_jtag_add_plain_dr_scan(int in_num_fields, const struct scan_field *in_fields, tap_state_t state)
{
jtag_command_t * cmd = cmd_queue_alloc(sizeof(jtag_command_t));
- scan_command_t * scan = cmd_queue_alloc(sizeof(scan_command_t));
+ struct scan_command * scan = cmd_queue_alloc(sizeof(struct scan_command));
struct scan_field * out_fields = cmd_queue_alloc(in_num_fields * sizeof(struct scan_field));
jtag_queue_command(cmd);