aboutsummaryrefslogtreecommitdiffstats
path: root/board/matrix_vision/mvbc_p/fpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/matrix_vision/mvbc_p/fpga.c')
-rw-r--r--board/matrix_vision/mvbc_p/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/matrix_vision/mvbc_p/fpga.c b/board/matrix_vision/mvbc_p/fpga.c
index 3ed46fe802..6ce96ba142 100644
--- a/board/matrix_vision/mvbc_p/fpga.c
+++ b/board/matrix_vision/mvbc_p/fpga.c
@@ -160,7 +160,7 @@ static inline int _write_fpga(u8 val)
return 0;
}
-int fpga_wr_fn(void *buf, size_t len, int flush, int cookie)
+int fpga_wr_fn(const void *buf, size_t len, int flush, int cookie)
{
unsigned char *data = (unsigned char *) buf;
int i;