]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/i386/lib/board.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / arch / i386 / lib / board.c
index 3f849f6542d3e155d0b9711115de60d8e663158d..0adc66455a366ae7baa2d8cdd443c836de970143 100644 (file)
@@ -431,7 +431,7 @@ void hang (void)
        for (;;);
 }
 
-unsigned long do_go_exec (ulong (*entry)(int, char *[]), int argc, char *argv[])
+unsigned long do_go_exec (ulong (*entry)(int, char *[]), int argc, char * const argv[])
 {
        /*
         * x86 does not use a dedicated register to pass the pointer