diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-11-11 12:20:06 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 11:01:43 +1100 |
commit | 0426c166424ea6d3d0412f47879c8ba268f874c4 (patch) | |
tree | 460a5d01e68c2c71a65bd1aa34da6542517c57c0 /include/linux/crc32c.h | |
parent | 53b146ae598268edbe2bf7ea7dfec721d51adddd (diff) | |
download | kernel_samsung_espresso10-0426c166424ea6d3d0412f47879c8ba268f874c4.zip kernel_samsung_espresso10-0426c166424ea6d3d0412f47879c8ba268f874c4.tar.gz kernel_samsung_espresso10-0426c166424ea6d3d0412f47879c8ba268f874c4.tar.bz2 |
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>
Diffstat (limited to 'include/linux/crc32c.h')
-rw-r--r-- | include/linux/crc32c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/crc32c.h b/include/linux/crc32c.h index 66fa8ff..bd8b44d 100644 --- 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 */ |