libcrc32c: Add crc32c_le macro
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 11 Nov 2008 04:20:06 +0000 (12:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:01:43 +0000 (11:01 +1100)
The bnx2x driver actually uses the crc32c_le name so this patch
restores the crc32c_le symbol through a macro.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/crc32c.h

index 66fa8ff..bd8b44d 100644 (file)
@@ -5,4 +5,7 @@
 
 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
 
+/* This macro exists for backwards-compatibility. */
+#define crc32c_le crc32c
+
 #endif /* _LINUX_CRC32C_H */