[U-Boot] [PATCH] fpga: constify to fix build warning
Wolfgang Denk
wd at denx.de
Mon Aug 1 15:21:51 CEST 2011
Dear Wolfgang Denk,
In message <1312068829-8498-1-git-send-email-wd at denx.de> you wrote:
> 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 at denx.de>
> Cc: Andre Schwarz <andre.schwarz at matrix-vision.de>
> Cc: Murray Jensen <Murray.Jensen at csiro.au>
> ---
> board/hymod/bsp.c | 4 ++--
> board/matrix_vision/mergerbox/fpga.c | 2 +-
> board/matrix_vision/mergerbox/fpga.h | 2 +-
> board/matrix_vision/mvbc_p/fpga.c | 2 +-
> board/matrix_vision/mvbc_p/fpga.h | 2 +-
> board/matrix_vision/mvblm7/fpga.c | 2 +-
> board/matrix_vision/mvblm7/fpga.h | 2 +-
> common/cmd_fpga.c | 2 +-
> drivers/fpga/ACEX1K.c | 14 +++++++-------
> drivers/fpga/altera.c | 4 ++--
> drivers/fpga/cyclon2.c | 12 ++++++------
> drivers/fpga/fpga.c | 8 ++++----
> drivers/fpga/spartan2.c | 24 ++++++++++++------------
> drivers/fpga/spartan3.c | 24 ++++++++++++------------
> drivers/fpga/virtex2.c | 20 ++++++++++----------
> drivers/fpga/xilinx.c | 4 ++--
> include/ACEX1K.h | 12 ++++++------
> include/altera.h | 8 ++++----
> include/fpga.h | 12 ++++++------
> include/spartan2.h | 6 +++---
> include/spartan3.h | 6 +++---
> include/virtex2.h | 6 +++---
> include/xilinx.h | 6 +++---
> 23 files changed, 92 insertions(+), 92 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
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
"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn
More information about the U-Boot
mailing list