From e6a857da746d5d7d450e59c0f86664c6b279b1c2 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 30 Jul 2011 13:33:49 +0000 Subject: 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 Cc: Andre Schwarz Cc: Murray Jensen Acked-by: Andre Schwarz --- board/matrix_vision/mvblm7/fpga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/matrix_vision/mvblm7/fpga.h') diff --git a/board/matrix_vision/mvblm7/fpga.h b/board/matrix_vision/mvblm7/fpga.h index 19277eb05f..f422f20d69 100644 --- a/board/matrix_vision/mvblm7/fpga.h +++ b/board/matrix_vision/mvblm7/fpga.h @@ -30,5 +30,5 @@ extern int fpga_status_fn(int cookie); extern int fpga_config_fn(int assert, int flush, int cookie); extern int fpga_done_fn(int cookie); extern int fpga_clk_fn(int assert_clk, int flush, int cookie); -extern int fpga_wr_fn(void *buf, size_t len, int flush, int cookie); +extern int fpga_wr_fn(const void *buf, size_t len, int flush, int cookie); extern int fpga_null_fn(int cookie); -- cgit