aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:43:30 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commit3b7aee21b50f4bd0014878f29129ac33812faea3 (patch)
tree3463a3bc0ad033c745200d5076d41a7e3ef5c561 /src/flash
parent1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d (diff)
mips32_common_t -> struct mips32_common
Remove misleading typedef and redundant suffix from struct mips32_common.
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 01252bbf..97111f2c 100644
--- a/src/flash/pic32mx.c
+++ b/src/flash/pic32mx.c
@@ -543,7 +543,7 @@ static int pic32mx_probe(struct flash_bank_s *bank)
{
target_t *target = bank->target;
struct pic32mx_flash_bank *pic32mx_info = bank->driver_priv;
- mips32_common_t *mips32 = target->arch_info;
+ struct mips32_common *mips32 = target->arch_info;
mips_ejtag_t *ejtag_info = &mips32->ejtag_info;
int i;
uint16_t num_pages = 0;
@@ -640,7 +640,7 @@ COMMAND_HANDLER(pic32mx_handle_part_id_command)
static int pic32mx_info(struct flash_bank_s *bank, char *buf, int buf_size)
{
target_t *target = bank->target;
- mips32_common_t *mips32 = target->arch_info;
+ struct mips32_common *mips32 = target->arch_info;
mips_ejtag_t *ejtag_info = &mips32->ejtag_info;
uint32_t device_id;
int printed = 0, i;