X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Flpc2000.c;h=09bb13f211b045c41432ce6600f8610c3a01a8ff;hp=f3d7e5b4a30cce7875041cfc001c1640aded2af9;hb=db094c2e60176b3c63ce788159b04a7024ad1010;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34 diff --git a/src/flash/lpc2000.c b/src/flash/lpc2000.c index f3d7e5b4a3..09bb13f211 100644 --- a/src/flash/lpc2000.c +++ b/src/flash/lpc2000.c @@ -29,6 +29,7 @@ #include "armv4_5.h" #include "armv7m.h" #include "binarybuffer.h" +#include "algorithm.h" /* flash programming support for NXP LPC17xx and LPC2xxx devices @@ -778,7 +779,7 @@ COMMAND_HANDLER(lpc2000_handle_part_id_command) static int lpc2000_register_commands(struct command_context *cmd_ctx) { - command_t *lpc2000_cmd = register_command(cmd_ctx, NULL, "lpc2000", + struct command *lpc2000_cmd = register_command(cmd_ctx, NULL, "lpc2000", NULL, COMMAND_ANY, NULL); register_command(cmd_ctx, lpc2000_cmd, "part_id",