summaryrefslogtreecommitdiff
path: root/src/target/etm.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-23 08:24:02 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-24 21:37:36 -0800
commitf74e2e033a2ad082e5bef67d0ddedd1db3f58300 (patch)
tree8f0e521332a6685085a38cd70660bf8f308060a4 /src/target/etm.h
parent66ee303456910f684244a20a0ac2e958d40b78cb (diff)
downloadopenocd+libswd-f74e2e033a2ad082e5bef67d0ddedd1db3f58300.tar.gz
openocd+libswd-f74e2e033a2ad082e5bef67d0ddedd1db3f58300.tar.bz2
openocd+libswd-f74e2e033a2ad082e5bef67d0ddedd1db3f58300.tar.xz
openocd+libswd-f74e2e033a2ad082e5bef67d0ddedd1db3f58300.zip
remove register_commands from etm_capture_driver
Converts callback to an array of command_registration records. Moves oocd_trace driver definition to end of file to eliminate useless forward declaration.
Diffstat (limited to 'src/target/etm.h')
-rw-r--r--src/target/etm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/etm.h b/src/target/etm.h
index 05e54959..c8da7947 100644
--- a/src/target/etm.h
+++ b/src/target/etm.h
@@ -126,7 +126,7 @@ struct etm_context;
struct etm_capture_driver
{
char *name;
- int (*register_commands)(struct command_context *cmd_ctx);
+ const struct command_registration *commands;
int (*init)(struct etm_context *etm_ctx);
trace_status_t (*status)(struct etm_context *etm_ctx);
int (*read_trace)(struct etm_context *etm_ctx);