[U-Boot] [PATCH v2] FPGA: constify Lattice FPGA code

Wolfgang Denk wd at denx.de
Mon Sep 5 11:37:41 CEST 2011


Dear Wolfgang Denk,

In message <1312547354-20051-1-git-send-email-wd at denx.de> you wrote:
> The Lattice code was missed by commit e6a857d "fpga: constify to fix
> build warning" resulting in such warnings:
> 
> fpga.c: In function 'fpga_load':
> fpga.c:238: warning: passing argument 2 of 'lattice_load' discards qualifiers from pointer target type
> fpga.c: In function 'fpga_dump':
> fpga.c:278: warning: passing argument 2 of 'lattice_dump' discards qualifiers from pointer target type
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> cc: Stefano Babic <sbabic at denx.de>
> ---
> v2:	Fix typo in Subject:
> 
>  drivers/fpga/lattice.c |    6 +++---
>  include/lattice.h      |    4 ++--
>  2 files changed, 5 insertions(+), 5 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
When some people discover the truth, they just can't  understand  why
everybody isn't eager to hear it.


More information about the U-Boot mailing list