summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-12-16 01:02:17 +0100
committerWolfgang Denk <wd@denx.de>2008-12-16 01:02:17 +0100
commit455ae7e87f67c44e6aea68865c83acadd3fcd36c (patch)
tree9f3b69f9c1c2fcc8937e6bd964b1321ac17d45bc /include/linux
parent84bc72d90c505fec3ef4b693995407a0bd4064e5 (diff)
Coding style cleanup, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/crc32.h8
-rw-r--r--include/linux/mtd/partitions.h6
-rw-r--r--include/linux/mtd/ubi.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/crc32.h b/include/linux/crc32.h
index e1331571e1c..ac4aed1c77a 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 */
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index b41e5f564cb..10166757bc1 100644
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -76,9 +76,9 @@ struct device;
struct device_node;
int __devinit of_mtd_parse_partitions(struct device *dev,
- struct mtd_info *mtd,
- struct device_node *node,
- struct mtd_partition **pparts);
+ struct mtd_info *mtd,
+ struct device_node *node,
+ struct mtd_partition **pparts);
#endif
#endif
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
index a017891acf8..4b3e06ce5e1 100644
--- a/include/linux/mtd/ubi.h
+++ b/include/linux/mtd/ubi.h
@@ -21,7 +21,7 @@
#ifndef __LINUX_UBI_H__
#define __LINUX_UBI_H__
-//#include <asm/ioctl.h>
+/* #include <asm/ioctl.h> */
#include <linux/types.h>
#include <mtd/ubi-user.h>