]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer...
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 8 Mar 2008 20:30:04 +0000 (21:30 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 8 Mar 2008 21:34:17 +0000 (22:34 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
board/esd/common/fpga.c

index ad5640269337f8d6f0a4d3c66a39ce1b40616a12..aab5509bcbfa8ea998e1601f61258631a97aace5 100644 (file)
@@ -92,7 +92,7 @@
 #endif
 
 
-static int fpga_boot(unsigned char *fpgadata, int size)
+static int fpga_boot(const unsigned char *fpgadata, int size)
 {
   int i,index,len;
   int count;