Skip to contentSkip to conversation

esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

PATCH New Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages Mar 8, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

board/esd/common/fpga.c +1 -1
index ad56402..aab5509 100644
@@ -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;
Signature · 1 line
1.5.4.1
#1 lore raw

PATCH 1/1 esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

board/esd/common/fpga.c

Quoted 3 lines · In message <[email protected]> you wrote:
board/esd/common/fpga.c +0 -0

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Even historians fail to learn from history -- they repeat the same
mistakes.
	-- John Gill, "Patterns of Force", stardate 2534.7