summaryrefslogtreecommitdiff
path: root/src/target/cortex_a8.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:18:27 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commitd727f978897105ceacfed06da0152b4b4dfffc3d (patch)
treeaf8469a819f9e1b210504a729467e95c78602a85 /src/target/cortex_a8.c
parent42fb6b88764fb39fd07726d7bb447a79c3951aa4 (diff)
downloadopenocd_libswd-d727f978897105ceacfed06da0152b4b4dfffc3d.tar.gz
openocd_libswd-d727f978897105ceacfed06da0152b4b4dfffc3d.tar.bz2
openocd_libswd-d727f978897105ceacfed06da0152b4b4dfffc3d.tar.xz
openocd_libswd-d727f978897105ceacfed06da0152b4b4dfffc3d.zip
cortex_a8_wrp_t -> struct cortex_a8_wrp
Remove misleading typedef and redundant suffix from struct cortex_a8_wrp.
Diffstat (limited to 'src/target/cortex_a8.c')
-rw-r--r--src/target/cortex_a8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c
index a44bb92e..82d0b281 100644
--- a/src/target/cortex_a8.c
+++ b/src/target/cortex_a8.c
@@ -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;