static int dummy_speed(int speed);
-static int dummy_register_commands(struct command_context_s *cmd_ctx);
+static int dummy_register_commands(struct command_context *cmd_ctx);
static int dummy_init(void);
static int dummy_quit(void);
static int dummy_khz(int khz, int *jtag_speed);
/* The dummy driver is used to easily check the code path
* where the target is unresponsive.
*/
-jtag_interface_t dummy_interface =
+struct jtag_interface dummy_interface =
{
.name = "dummy",
return ERROR_OK;
}
-static int dummy_register_commands(struct command_context_s *cmd_ctx)
+static int dummy_register_commands(struct command_context *cmd_ctx)
{
return ERROR_OK;
}