summaryrefslogtreecommitdiff
path: root/src/flash/at91sam3.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 10:11:13 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:14 -0800
commit0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch)
tree60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/flash/at91sam3.c
parentd0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff)
downloadopenocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.gz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.bz2
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.xz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.zip
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Diffstat (limited to 'src/flash/at91sam3.c')
-rw-r--r--src/flash/at91sam3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c
index 335f8ab5..3caf96c8 100644
--- a/src/flash/at91sam3.c
+++ b/src/flash/at91sam3.c
@@ -215,7 +215,7 @@ struct sam3_chip {
// this is "initialized" from the global const structure
struct sam3_chip_details details;
- target_t *target;
+ struct target *target;
struct sam3_cfg cfg;
struct membuf *mbuf;
@@ -233,7 +233,7 @@ static struct sam3_chip *all_sam3_chips;
static struct sam3_chip *
get_current_sam3(struct command_context_s *cmd_ctx)
{
- target_t *t;
+ struct target *t;
static struct sam3_chip *p;
t = get_current_target(cmd_ctx);
@@ -1393,7 +1393,7 @@ sam3_explain_mckr(struct sam3_chip *pChip)
#if 0
static struct sam3_chip *
-target2sam3(target_t *pTarget)
+target2sam3(struct target *pTarget)
{
struct sam3_chip *pChip;