]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - lib/tables_csum.c
lib: make table_compute_checksum() arguments const
[thirdparty/u-boot.git] / lib / tables_csum.c
index 636aa596768178df8a7ae173faed396c45e98501..305b1ec31c5488a7417ff6d8ceedac06d6e5e35d 100644 (file)
@@ -5,9 +5,9 @@
 
 #include <linux/types.h>
 
-u8 table_compute_checksum(void *v, int len)
+u8 table_compute_checksum(const void *v, const int len)
 {
-       u8 *bytes = v;
+       const u8 *bytes = v;
        u8 checksum = 0;
        int i;