fpga: constify to fix build warning
authorWolfgang Denk <wd@denx.de>
Sat, 30 Jul 2011 13:33:49 +0000 (13:33 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 1 Aug 2011 13:19:40 +0000 (15:19 +0200)
commite6a857da746d5d7d450e59c0f86664c6b279b1c2
treed95cae5bc677061c4313f7405545e837d67b02ee
parentf6c019c45440c61734a6ea02d27895820fbba31e
fpga: constify to fix build warning

Fix compiler warning:

cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
from incompatible pointer type

Adding the needed 'const' here entails a whole bunch of additonal
changes all over the FPGA code.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
Cc: Murray Jensen <Murray.Jensen@csiro.au>
Acked-by: Andre Schwarz<andre.schwarz@matrix-vision.de>
23 files changed:
board/hymod/bsp.c
board/matrix_vision/mergerbox/fpga.c
board/matrix_vision/mergerbox/fpga.h
board/matrix_vision/mvbc_p/fpga.c
board/matrix_vision/mvbc_p/fpga.h
board/matrix_vision/mvblm7/fpga.c
board/matrix_vision/mvblm7/fpga.h
common/cmd_fpga.c
drivers/fpga/ACEX1K.c
drivers/fpga/altera.c
drivers/fpga/cyclon2.c
drivers/fpga/fpga.c
drivers/fpga/spartan2.c
drivers/fpga/spartan3.c
drivers/fpga/virtex2.c
drivers/fpga/xilinx.c
include/ACEX1K.h
include/altera.h
include/fpga.h
include/spartan2.h
include/spartan3.h
include/virtex2.h
include/xilinx.h