]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/lib/bootm.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / arch / mips / lib / bootm.c
index 54af24cba3f7cd8af0ed843e72a2399ae07e0ce2..40a564718fe225460aa04addf4b2c0e05a2eacee 100644 (file)
@@ -43,7 +43,7 @@ static int    linux_env_idx;
 static void linux_params_init (ulong start, char * commandline);
 static void linux_env_set (char * env_name, char * env_val);
 
-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    (*theKernel) (int, char **, char **, int *);
        char    *commandline = getenv ("bootargs");