diff options
author | Wolfgang Denk <wd@denx.de> | 2011-09-05 11:39:04 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-05 12:28:46 +0200 |
commit | c2484f40d6c41689769a814e0ae46b9ae210efd1 (patch) | |
tree | 3bf97a84fb795051d3fc83db28b843ab074db7da /board/prodrive/alpr/fpga.c | |
parent | fb2d6efbf298db3660a2130074b8b20a0ff26efd (diff) | |
download | u-boot-imx-c2484f40d6c41689769a814e0ae46b9ae210efd1.zip u-boot-imx-c2484f40d6c41689769a814e0ae46b9ae210efd1.tar.gz u-boot-imx-c2484f40d6c41689769a814e0ae46b9ae210efd1.tar.bz2 |
PPC4xx: ALPR: constify FPGA code
The ALPR custom FPGA code was missed by commit e6a857d "fpga:
constify to fix build warning" resulting in such warnings:
fpga.c:226: warning: initialization from incompatible pointer type
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/prodrive/alpr/fpga.c')
-rw-r--r-- | board/prodrive/alpr/fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/prodrive/alpr/fpga.c b/board/prodrive/alpr/fpga.c index 93f2449..3666a9a 100644 --- a/board/prodrive/alpr/fpga.c +++ b/board/prodrive/alpr/fpga.c @@ -168,7 +168,7 @@ int fpga_done_fn (int cookie) /* writes the complete buffer to the FPGA writing the complete buffer in one function is much faster, then calling it for every bit */ -int fpga_write_fn (void *buf, size_t len, int flush, int cookie) +int fpga_write_fn (const void *buf, size_t len, int flush, int cookie) { size_t bytecount = 0; unsigned char *data = (unsigned char *) buf; |