From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 8 Mar 2008 21:30:04 +0100 Subject: [U-Boot-Users] [PATCH] esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type Message-ID: <1205008204-21678-1-git-send-email-plagnioj@jcrosoft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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; -- 1.5.4.1