]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/block/ftide020.c
block: constify sect_buf argument of ide_write_data
[karo-tx-uboot.git] / drivers / block / ftide020.c
index ad8fdad7c228756f56a73cf585284769c4618e0f..61900ba248a01c5ca5e50b1ef1343cdf5437ff0a 100644 (file)
@@ -81,7 +81,7 @@ void ide_write_register(int dev, unsigned int port, unsigned char val)
                IDE_REG_DA_WRITE(port) | val);
 }
 
-void ide_write_data(int dev, ulong *sect_buf, int words)
+void ide_write_data(int dev, const ulong *sect_buf, int words)
 {
        static struct ftide020_s *ftide020 = (struct ftide020_s *) FTIDE_BASE;