]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/astro/mcf5373l/fpga.c
m68k: Fix warnings with gcc 4.6
[karo-tx-uboot.git] / board / astro / mcf5373l / fpga.c
index 1d044d96a563ed67f2fe2ff2da2e2a0f4425fb2a..d1110dfd6e7b7b63c958d605832b6f59abc27c54 100644 (file)
@@ -100,7 +100,7 @@ int altera_done_fn(int cookie)
  * writing the complete buffer in one function is much faster,
  * then calling it for every bit
  */
-int altera_write_fn(void *buf, size_t len, int flush, int cookie)
+int altera_write_fn(const void *buf, size_t len, int flush, int cookie)
 {
        size_t bytecount = 0;
        gpio_t *gpiop = (gpio_t *)MMAP_GPIO;