aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-05-24 11:51:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-24 11:51:26 -0700
commit4d429480352c63db2228489f0db9fd381cdc3c9c (patch)
tree96a3bc976735ef01d5d5e42353ae1dd795d34370 /include/linux/mtd
parentMerge branch 'linux-next' of git://git.infradead.org/ubifs-2.6 (diff)
parentUBI: switch to dynamic printks (diff)
downloadlinux-dev-4d429480352c63db2228489f0db9fd381cdc3c9c.tar.xz
linux-dev-4d429480352c63db2228489f0db9fd381cdc3c9c.zip
Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6
* 'linux-next' of git://git.infradead.org/ubi-2.6: UBI: switch to dynamic printks UBI: turn some macros into static inline UBI: improve checking in debugging prints UBI: fix typo in a message UBI: fix minor stylistic issues UBI: use __packed instead of __attribute__((packed)) UBI: cleanup comments around volume properties UBI: re-name set volume properties ioctl UBI: make the control character device non-seekable
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/ubi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
index 84854edf4436..15da0e99f48a 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