From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 8 Mar 2008 20:30:04 +0000 (+0100) Subject: esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer... X-Git-Tag: v2008.10-rc1~630 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58f3c57c6008b42e01f551d3be6efd88c14ac87f;p=platform%2Fkernel%2Fu-boot.git esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/board/esd/common/fpga.c b/board/esd/common/fpga.c index ad56402..aab5509 100644 --- a/board/esd/common/fpga.c +++ b/board/esd/common/fpga.c @@ -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;