X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Flpc3180_nand_controller.c;h=3589e8be554754a737abc9cf3244921e4512ab77;hb=a94748ec6da9bdc6e25a7f73bbea723b8b55fa33;hp=4a15e3645625c6f9c22ab3ee5618460b8271d999;hpb=2f6e56e38320350bb300b363d0b3737fa8d1f3ea;p=fw%2Fopenocd diff --git a/src/flash/lpc3180_nand_controller.c b/src/flash/lpc3180_nand_controller.c index 4a15e3645..3589e8be5 100644 --- a/src/flash/lpc3180_nand_controller.c +++ b/src/flash/lpc3180_nand_controller.c @@ -873,9 +873,9 @@ COMMAND_HANDLER(handle_lpc3180_select_command) return ERROR_OK; } -static int lpc3180_register_commands(struct command_context_s *cmd_ctx) +static int lpc3180_register_commands(struct command_context *cmd_ctx) { - command_t *lpc3180_cmd = register_command(cmd_ctx, NULL, "lpc3180", NULL, COMMAND_ANY, "commands specific to the LPC3180 NAND flash controllers"); + struct command *lpc3180_cmd = register_command(cmd_ctx, NULL, "lpc3180", NULL, COMMAND_ANY, "commands specific to the LPC3180 NAND flash controllers"); register_command(cmd_ctx, lpc3180_cmd, "select", handle_lpc3180_select_command, COMMAND_EXEC, "select <'mlc'|'slc'> controller (default is mlc)");