cortex_a8_wrp_t -> struct cortex_a8_wrp

Remove misleading typedef and redundant suffix from struct cortex_a8_wrp.
This commit is contained in:
Zachary T Welch
2009-11-13 09:18:27 -08:00
parent 42fb6b8876
commit d727f97889
2 changed files with 4 additions and 4 deletions

View File

@@ -1409,7 +1409,7 @@ static int cortex_a8_examine(struct target_s *target)
/* Setup Watchpoint Register Pairs */
cortex_a8->wrp_num = ((didr >> 28) & 0x0F) + 1;
cortex_a8->wrp_num_available = cortex_a8->wrp_num;
cortex_a8->wrp_list = calloc(cortex_a8->wrp_num, sizeof(cortex_a8_wrp_t));
cortex_a8->wrp_list = calloc(cortex_a8->wrp_num, sizeof(struct cortex_a8_wrp));
for (i = 0; i < cortex_a8->wrp_num; i++)
{
cortex_a8->wrp_list[i].used = 0;