浏览代码

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>
Jean-Christophe PLAGNIOL-VILLARD 17 年之前
父节点
当前提交
58f3c57c60
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      board/esd/common/fpga.c

+ 1 - 1
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;