summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:39:48 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commit55926f576f99a0c67b2836fedf0dc1bfc1260428 (patch)
tree002d4cc3156d97ac25e3c27789cc50db70332791 /src/target/arm11.h
parent0eae94879d85a7a402c890bda66efdeffde6f1c7 (diff)
downloadopenocd+libswd-55926f576f99a0c67b2836fedf0dc1bfc1260428.tar.gz
openocd+libswd-55926f576f99a0c67b2836fedf0dc1bfc1260428.tar.bz2
openocd+libswd-55926f576f99a0c67b2836fedf0dc1bfc1260428.tar.xz
openocd+libswd-55926f576f99a0c67b2836fedf0dc1bfc1260428.zip
arm11_common_t -> struct arm11_common
Remove misleading typedef and redundant suffix from struct arm11_common.
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index 4bbc4561..464782da 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -78,7 +78,7 @@ enum arm11_debug_version
ARM11_DEBUG_V7_CP14 = 0x04,
};
-typedef struct arm11_common_s
+struct arm11_common
{
target_t * target; /**< Reference back to the owner */
@@ -117,7 +117,7 @@ typedef struct arm11_common_s
// GA
reg_cache_t *core_cache;
-} arm11_common_t;
+};
/**
@@ -184,8 +184,8 @@ typedef struct arm11_reg_state_s
int arm11_register_commands(struct command_context_s *cmd_ctx);
-int arm11_read_etm(arm11_common_t * arm11, uint8_t address, uint32_t *value);
-int arm11_write_etm(arm11_common_t * arm11, uint8_t address, uint32_t value);
+int arm11_read_etm(struct arm11_common * arm11, uint8_t address, uint32_t *value);
+int arm11_write_etm(struct arm11_common * arm11, uint8_t address, uint32_t value);