summaryrefslogtreecommitdiff
path: root/board/esd/common/fpga.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-03-08 21:30:04 +0100
committerWolfgang Denk <wd@denx.de>2008-03-08 22:34:17 +0100
commit58f3c57c6008b42e01f551d3be6efd88c14ac87f (patch)
tree99539d7dbc7f94bce292a14185d6405241ddf68a /board/esd/common/fpga.c
parentd75469d48c05795144f4b8ba76addbb4920a7bba (diff)
esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/esd/common/fpga.c')
-rw-r--r--board/esd/common/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/common/fpga.c b/board/esd/common/fpga.c
index ad56402693..aab5509bcb 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;