]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/sh/lib/bootm.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / arch / sh / lib / bootm.c
index ae1f869f10d9b31da0e69a4ab75797a955045276..9c58ed7ec8cb2d507321c7c03f650ea1f478725f 100644 (file)
@@ -43,7 +43,7 @@ static void hexdump(unsigned char *buf, int len)
 }
 #endif
 
-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)
 {
        /* Linux kernel load address */
        void (*kernel) (void) = (void (*)(void))images->ep;