X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Ftms470.c;h=b71e9ed62d6cc9257658f3bf82a73051acb7116d;hb=e84849f5ed7416c758914bea88a31827259c4f5b;hp=6e1516f35b74d0c1c1a040cdee0654aeae755e33;hpb=96b62996d2d81b09a48bf253bc9e60e637f687bd;p=openocd.git diff --git a/src/flash/tms470.c b/src/flash/tms470.c index 6e1516f35b..b71e9ed62d 100644 --- a/src/flash/tms470.c +++ b/src/flash/tms470.c @@ -817,9 +817,9 @@ static int tms470_erase_sector(struct flash_bank *bank, int sector) Implementation of Flash Driver Interfaces ---------------------------------------------------------------------- */ -static int tms470_register_commands(struct command_context_s *cmd_ctx) +static int tms470_register_commands(struct command_context *cmd_ctx) { - command_t *tms470_cmd = register_command(cmd_ctx, NULL, "tms470", NULL, COMMAND_ANY, "applies to TI tms470 family"); + struct command *tms470_cmd = register_command(cmd_ctx, NULL, "tms470", NULL, COMMAND_ANY, "applies to TI tms470 family"); register_command(cmd_ctx, tms470_cmd, "flash_keyset", tms470_handle_flash_keyset_command, COMMAND_ANY, "tms470 flash_keyset "); register_command(cmd_ctx, tms470_cmd, "osc_megahertz", tms470_handle_osc_megahertz_command, COMMAND_ANY, "tms470 osc_megahertz ");