fs: ext4: constify the buffer passed to write functions
[project/bcm63xx/u-boot.git] / fs / ext4 / ext4_common.c
index 29308e3b44741b8ee484158223df5976d428980d..e9123785f116bc70a1091583c11d0a775db7341c 100644 (file)
@@ -190,7 +190,7 @@ uint32_t ext4fs_div_roundup(uint32_t size, uint32_t n)
        return res;
 }
 
-void put_ext4(uint64_t off, void *buf, uint32_t size)
+void put_ext4(uint64_t off, const void *buf, uint32_t size)
 {
        uint64_t startblock;
        uint64_t remainder;