]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/crc32c.h
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-linux.git] / include / linux / crc32c.h
index 508f512e5a2fcebbaf1f243e7a4fd42a7ace96db..bd8b44d96bdcbd38e764ddfa7b8d6cbed43ebe5d 100644 (file)
@@ -3,9 +3,9 @@
 
 #include <linux/types.h>
 
-extern u32 crc32c_le(u32 crc, unsigned char const *address, size_t length);
-extern u32 crc32c_be(u32 crc, unsigned char const *address, size_t length);
+extern u32 crc32c(u32 crc, const void *address, unsigned int length);
 
-#define crc32c(seed, data, length)  crc32c_le(seed, (unsigned char const *)data, length)
+/* This macro exists for backwards-compatibility. */
+#define crc32c_le crc32c
 
 #endif /* _LINUX_CRC32C_H */