]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/matrix_vision/mvbc_p/fpga.c
fpga: constify to fix build warning
[karo-tx-uboot.git] / board / matrix_vision / mvbc_p / fpga.c
index 3ed46fe802989c54b1b40680c8039a2ff225b379..6ce96ba1428a610c87a856bd854ea4b908d27328 100644 (file)
@@ -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;