diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-28 10:12:25 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-14 11:34:41 +0300 |
commit | feddbb34ebd75e9b6bf573b852079e327a88c07a (patch) | |
tree | 99b11dc996e6ce633c332a165a073e76cb05601c /include | |
parent | 3627924acf70a9a26587712e4888ee7144489678 (diff) | |
download | op-kernel-dev-feddbb34ebd75e9b6bf573b852079e327a88c07a.zip op-kernel-dev-feddbb34ebd75e9b6bf573b852079e327a88c07a.tar.gz |
UBI: fix minor stylistic issues
Fix checkpatch.pl errors and warnings:
* space before tab
* line over 80 characters
* include linux/ioctl.h instead of asm/ioctl.h
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/ubi.h | 4 | ||||
-rw-r--r-- | include/mtd/ubi-user.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index 84854ed..15da0e9 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 <linux/ioctl.h> #include <linux/types.h> #include <mtd/ubi-user.h> @@ -87,7 +87,7 @@ enum { * physical eraseblock size and on how much bytes UBI headers consume. But * because of the volume alignment (@alignment), the usable size of logical * eraseblocks if a volume may be less. The following equation is true: - * @usable_leb_size = LEB size - (LEB size mod @alignment), + * @usable_leb_size = LEB size - (LEB size mod @alignment), * where LEB size is the logical eraseblock size defined by the UBI device. * * The alignment is multiple to the minimal flash input/output unit size or %1 diff --git a/include/mtd/ubi-user.h b/include/mtd/ubi-user.h index a390342..3c41097 100644 --- a/include/mtd/ubi-user.h +++ b/include/mtd/ubi-user.h @@ -406,9 +406,9 @@ struct ubi_map_req { * @value: value to set */ struct ubi_set_vol_prop_req { - __u8 property; - __u8 padding[7]; - __u64 value; + __u8 property; + __u8 padding[7]; + __u64 value; } __packed; #endif /* __UBI_USER_H__ */ |