X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnand.h;h=5b19d5a95056ee209e94e214f7d9f7c1171d55a6;hp=16558c2b644c80ecec602be72c60a2bb11d6ae3c;hb=ca594adb5a71f2bf60c1380172b8e61b075d9479;hpb=9741e126fd854815460296ad47d027129c7f17bf diff --git a/src/flash/nand.h b/src/flash/nand.h index 16558c2b64..5b19d5a950 100644 --- a/src/flash/nand.h +++ b/src/flash/nand.h @@ -226,7 +226,7 @@ int nand_init(struct command_context_s *cmd_ctx); /// helper for parsing a nand device command argument string int nand_command_get_device_by_num(struct command_context_s *cmd_ctx, - char *str, nand_device_t **device); + const char *str, nand_device_t **device); #define ERROR_NAND_DEVICE_INVALID (-1100)