Skip to content

Commit

Permalink
libcrc32c: Add crc32c_le macro
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
herbertx committed Dec 25, 2008
1 parent 53b146a commit 0426c16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/crc32c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 0426c16

Please sign in to comment.