X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fjtag%2Fvsllink.c;h=cc3308f573c08daa97729e4f901dc84120d864e4;hb=d5e4e23f9a5b1074cd298d5386e638a9fa78b1ad;hp=8287e84a964e8d76ee6fdfd02c3ad89b6f61a522;hpb=fc2d9f87615b7a5562cb9cd58fb95953e5d89818;p=openocd diff --git a/src/jtag/vsllink.c b/src/jtag/vsllink.c index 8287e84a..cc3308f5 100644 --- a/src/jtag/vsllink.c +++ b/src/jtag/vsllink.c @@ -1890,14 +1890,10 @@ static const struct command_registration vsllink_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -static int vsllink_register_commands(struct command_context *cmd_ctx) -{ - return register_commands(cmd_ctx, NULL, vsllink_command_handlers); -} - struct jtag_interface vsllink_interface = { .name = "vsllink", - .register_commands = &vsllink_register_commands, + .commands = vsllink_command_handlers, + .init = &vsllink_init, .quit = &vsllink_quit, .khz = &vsllink_khz,