Pārlūkot izejas kodu

libcrc32c: Add crc32c_le macro

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>
Herbert Xu 16 gadi atpakaļ
vecāks
revīzija
0426c16642
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      include/linux/crc32c.h

+ 3 - 0
include/linux/crc32c.h

@@ -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 */