summaryrefslogtreecommitdiff
path: root/src/target/arm720t.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:39:57 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commitbcb18b2044e9a9b812f8e0d390ed903f74524586 (patch)
tree0a4a98e18a9519759b71bda9bb08dbd733dca26c /src/target/arm720t.h
parentf3b3752a9eebae273da6580c182e9d1486e41ed9 (diff)
downloadopenocd+libswd-bcb18b2044e9a9b812f8e0d390ed903f74524586.tar.gz
openocd+libswd-bcb18b2044e9a9b812f8e0d390ed903f74524586.tar.bz2
openocd+libswd-bcb18b2044e9a9b812f8e0d390ed903f74524586.tar.xz
openocd+libswd-bcb18b2044e9a9b812f8e0d390ed903f74524586.zip
arm720t_common_t -> struct arm720t_common
Remove misleading typedef and redundant suffix from struct arm720t_common.
Diffstat (limited to 'src/target/arm720t.h')
-rw-r--r--src/target/arm720t.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/arm720t.h b/src/target/arm720t.h
index c10cbe1b..25c682a0 100644
--- a/src/target/arm720t.h
+++ b/src/target/arm720t.h
@@ -25,7 +25,7 @@
#define ARM720T_COMMON_MAGIC 0xa720a720
-typedef struct arm720t_common_s
+struct arm720t_common
{
arm7tdmi_common_t arm7tdmi_common;
uint32_t common_magic;
@@ -33,12 +33,12 @@ typedef struct arm720t_common_s
uint32_t cp15_control_reg;
uint32_t fsr_reg;
uint32_t far_reg;
-} arm720t_common_t;
+};
-static inline struct arm720t_common_s *
+static inline struct arm720t_common *
target_to_arm720(struct target_s *target)
{
- return container_of(target->arch_info, struct arm720t_common_s,
+ return container_of(target->arch_info, struct arm720t_common,
arm7tdmi_common.arm7_9_common.armv4_5_common);
}