summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-11-17 14:51:09 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-17 15:01:48 +0100
commitb888b63fe9bee26e567a645f6ceb10d66bfff785 (patch)
treea8319ccb075c2bdcd17db3d50d9628f63970084e /src
parent0181296f61f11e4390e5a381906021db4ddd4bcd (diff)
downloadopenocd+libswd-b888b63fe9bee26e567a645f6ceb10d66bfff785.tar.gz
openocd+libswd-b888b63fe9bee26e567a645f6ceb10d66bfff785.tar.bz2
openocd+libswd-b888b63fe9bee26e567a645f6ceb10d66bfff785.tar.xz
openocd+libswd-b888b63fe9bee26e567a645f6ceb10d66bfff785.zip
zy1000: fix trivial syntax error introduced by latest refactorings
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/zy1000/jtag_minidriver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/zy1000/jtag_minidriver.h b/src/jtag/zy1000/jtag_minidriver.h
index 9d093ca3..3fe16ef3 100644
--- a/src/jtag/zy1000/jtag_minidriver.h
+++ b/src/jtag/zy1000/jtag_minidriver.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2008 by Øyvind Harboe *
+ * Copyright (C) 2007-2009 by Øyvind Harboe *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -148,7 +148,7 @@ static __inline__ void shiftValueInner(const enum tap_state state, const enum ta
-static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct targetap,
+static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *target_tap,
int num_fields,
const int *num_bits,
const uint32_t *value,
@@ -164,7 +164,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct ta
{
pause_state = end_state;
}
- if (tap == struct targetap)
+ if (tap == target_tap)
{
int j;
for (j = 0; j < (num_fields-1); j++)
@@ -180,7 +180,7 @@ static __inline__ void interface_jtag_add_dr_out_core(struct jtag_tap *struct ta
}
}
-static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *struct targetap,
+static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
int num_fields,
const int *num_bits,
const uint32_t *value,
@@ -201,7 +201,7 @@ static __inline__ void interface_jtag_add_dr_out(struct jtag_tap *struct targeta
shiftValueInner(TAP_DRSHIFT, end_state, num_bits[1], value[1]);
} else
{
- interface_jtag_add_dr_out_core(struct targetap, num_fields, num_bits, value, end_state);
+ interface_jtag_add_dr_out_core(target_tap, num_fields, num_bits, value, end_state);
}
}