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 ad56402..aab5509 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;