]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/avr32/lib/bootm.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / arch / avr32 / lib / bootm.c
index 6a3172a9a0c11efda750ebe77d91ba03a1b61dd0..8a47cfeb4ad3cc529f46c5b0e81ecff39e442cf4 100644 (file)
@@ -171,7 +171,7 @@ static void setup_end_tag(struct tag *params)
        params->hdr.size = 0;
 }
 
-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 magic, void *tagtable);
        struct  tag *params, *params_start;