projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b146a
)
libcrc32c: Add crc32c_le macro
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 11 Nov 2008 04:20:06 +0000
(12:20 +0800)
committer
Herbert 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/crc32c.h
b/include/linux/crc32c.h
index 66fa8ff795ec5431fae513c0886ae56c47a6ec6e..bd8b44d96bdcbd38e764ddfa7b8d6cbed43ebe5d 100644
(file)
--- a/
include/linux/crc32c.h
+++ b/
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 */