diff options
author | Wolfgang Denk <wd@denx.de> | 2008-12-16 01:02:17 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-16 01:02:17 +0100 |
commit | 455ae7e87f67c44e6aea68865c83acadd3fcd36c (patch) | |
tree | 9f3b69f9c1c2fcc8937e6bd964b1321ac17d45bc /include/linux/crc32.h | |
parent | 84bc72d90c505fec3ef4b693995407a0bd4064e5 (diff) | |
download | u-boot-imx-455ae7e87f67c44e6aea68865c83acadd3fcd36c.zip u-boot-imx-455ae7e87f67c44e6aea68865c83acadd3fcd36c.tar.gz u-boot-imx-455ae7e87f67c44e6aea68865c83acadd3fcd36c.tar.bz2 |
Coding style cleanup, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/linux/crc32.h')
-rw-r--r-- | include/linux/crc32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/crc32.h b/include/linux/crc32.h index e133157..ac4aed1 100644 --- a/include/linux/crc32.h +++ b/include/linux/crc32.h @@ -6,10 +6,10 @@ #define _LINUX_CRC32_H #include <linux/types.h> -//#include <linux/bitrev.h> +/* #include <linux/bitrev.h> */ extern u32 crc32_le(u32 crc, unsigned char const *p, size_t len); -//extern u32 crc32_be(u32 crc, unsigned char const *p, size_t len); +/* extern u32 crc32_be(u32 crc, unsigned char const *p, size_t len); */ #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length) @@ -21,7 +21,7 @@ extern u32 crc32_le(u32 crc, unsigned char const *p, size_t len); * is in bit nr 0], thus it must be reversed before use. Except for * nics that bit swap the result internally... */ -//#define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) -//#define ether_crc_le(length, data) crc32_le(~0, data, length) +/* #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) */ +/* #define ether_crc_le(length, data) crc32_le(~0, data, length) */ #endif /* _LINUX_CRC32_H */ |