summaryrefslogtreecommitdiff
path: root/src/target/cortex_a8.h
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.h
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.h')
-rw-r--r--src/target/cortex_a8.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/cortex_a8.h b/src/target/cortex_a8.h
index 87288422..e3b99ee4 100644
--- a/src/target/cortex_a8.h
+++ b/src/target/cortex_a8.h
@@ -91,14 +91,14 @@ struct cortex_a8_brp
uint8_t BRPn;
};
-typedef struct cortex_a8_wrp_s
+struct cortex_a8_wrp
{
int used;
int type;
uint32_t value;
uint32_t control;
uint8_t WRPn;
-} cortex_a8_wrp_t;
+};
struct cortex_a8_common
{
@@ -124,7 +124,7 @@ struct cortex_a8_common
/* Watchpoint register pairs */
int wrp_num;
int wrp_num_available;
- cortex_a8_wrp_t *wrp_list;
+ struct cortex_a8_wrp *wrp_list;
/* Interrupts */
int intlinesnum;