summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:43:36 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commita8141cafdef162d52e128cd2ab51702b9800fda2 (patch)
tree2cff899322e3ae0d30fe1b574f559d542e4b06ec /src/flash
parentccde06a08fbf9c4f57b321dbec0509f73239c2de (diff)
downloadopenocd+libswd-a8141cafdef162d52e128cd2ab51702b9800fda2.tar.gz
openocd+libswd-a8141cafdef162d52e128cd2ab51702b9800fda2.tar.bz2
openocd+libswd-a8141cafdef162d52e128cd2ab51702b9800fda2.tar.xz
openocd+libswd-a8141cafdef162d52e128cd2ab51702b9800fda2.zip
mips_ejtag_t -> struct mips_ejtag
Remove misleading typedef and redundant suffix from struct mips_ejtag.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/pic32mx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/pic32mx.c b/src/flash/pic32mx.c
index 97111f2c..262200c0 100644
--- a/src/flash/pic32mx.c
+++ b/src/flash/pic32mx.c
@@ -544,7 +544,7 @@ static int pic32mx_probe(struct flash_bank_s *bank)
target_t *target = bank->target;
struct pic32mx_flash_bank *pic32mx_info = bank->driver_priv;
struct mips32_common *mips32 = target->arch_info;
- mips_ejtag_t *ejtag_info = &mips32->ejtag_info;
+ struct mips_ejtag *ejtag_info = &mips32->ejtag_info;
int i;
uint16_t num_pages = 0;
uint32_t device_id;
@@ -641,7 +641,7 @@ static int pic32mx_info(struct flash_bank_s *bank, char *buf, int buf_size)
{
target_t *target = bank->target;
struct mips32_common *mips32 = target->arch_info;
- mips_ejtag_t *ejtag_info = &mips32->ejtag_info;
+ struct mips_ejtag *ejtag_info = &mips32->ejtag_info;
uint32_t device_id;
int printed = 0, i;