X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fetm.h;h=c8da794768be7460badefcd155efe5d9a6769462;hb=070259cadbb0f142f6546c55f8044199c6aea9b9;hp=05e54959a0b32933a1a28d86f5577b5412492d6e;hpb=66ee303456910f684244a20a0ac2e958d40b78cb;p=openocd.git diff --git a/src/target/etm.h b/src/target/etm.h index 05e54959a0..c8da794768 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);