]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/nios2/lib/bootm.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / arch / nios2 / lib / bootm.c
index 5d25edf80d29a10c4cfbc19f92d8abe8359de7d1..e4093a822a6340dffa98eba0b641764a78f12cbf 100644 (file)
@@ -28,7 +28,7 @@
 
 #define NIOS_MAGIC 0x534f494e /* enable command line and initrd passing */
 
-int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
+int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images)
 {
        void (*kernel)(int, int, int, char *) = (void *)images->ep;
        char *commandline = getenv("bootargs");