X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Flpc2900.c;h=556a1512474ec7801ee6c17ac82f500f68f3d18f;hp=4cf20921655cc1cb7d4a7d212afe1d95fe5a937f;hb=dd47bba6f8c50d202ce716173f8f647dd3f77f49;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34 diff --git a/src/flash/lpc2900.c b/src/flash/lpc2900.c index 4cf2092165..556a151247 100644 --- a/src/flash/lpc2900.c +++ b/src/flash/lpc2900.c @@ -24,8 +24,7 @@ #include "image.h" - -#include "lpc2900.h" +#include "flash.h" #include "binarybuffer.h" #include "armv4_5.h" @@ -954,7 +953,7 @@ COMMAND_HANDLER(lpc2900_handle_secure_jtag_command) */ static int lpc2900_register_commands(struct command_context *cmd_ctx) { - command_t *lpc2900_cmd = register_command(cmd_ctx, NULL, "lpc2900", + struct command *lpc2900_cmd = register_command(cmd_ctx, NULL, "lpc2900", NULL, COMMAND_ANY, NULL); register_command(