projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/include/linux/crc32c.h
b/include/linux/crc32c.h
index
66fa8ff
..
bd8b44d
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 */