FPGA: constify Lattice FPGA code
authorWolfgang Denk <wd@denx.de>
Fri, 5 Aug 2011 02:26:31 +0000 (02:26 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Sep 2011 09:41:42 +0000 (11:41 +0200)
commitfb2d6efbf298db3660a2130074b8b20a0ff26efd
tree65842ed84676e493176e22e0e4017d2059181bc7
parentf0e494988f988f29a47cb25b548c9acbbfe2fbc1
FPGA: constify Lattice FPGA code

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@denx.de>
cc: Stefano Babic <sbabic@denx.de>
drivers/fpga/lattice.c
include/lattice.h