summaryrefslogtreecommitdiff
path: root/include/mtd/ubi-user.h
diff options
context:
space:
mode:
authordedekind@linutronix.de <dedekind@linutronix.de>2006-06-30 14:05:25 +0200
committerFrank Haverkamp <haver@vnet.ibm.com>2006-10-31 15:06:07 +0100
commitfaa7699bf15b9a08b1b2658745314ae8f63878a2 (patch)
tree5891164486ba5b4436c06209a31e1fa1244d23d0 /include/mtd/ubi-user.h
parentd8f5f9f8cfc5a780f7e95b178e919ac2b20fda93 (diff)
[MTD] UBI: Adaptations to new driver, reworked frontend
Diffstat (limited to 'include/mtd/ubi-user.h')
-rw-r--r--include/mtd/ubi-user.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/mtd/ubi-user.h b/include/mtd/ubi-user.h
index 161f674..0eb1470 100644
--- a/include/mtd/ubi-user.h
+++ b/include/mtd/ubi-user.h
@@ -32,6 +32,9 @@
*/
#define UBI_VOL_NUM_AUTO (-1)
+/* Maximum volume name length */
+#define UBI_MAX_VOLUME_NAME 127
+
/*
* IOCTL commands of UBI character devices
*/
@@ -56,7 +59,7 @@
/* An eraseblock erasure command, used for debugging, disabled by dafault */
#define UBI_IOCEBER _IOW(UBI_VOL_IOC_MAGIC, 0, int32_t)
-/**
+/*
* UBI volume type constants.
*
* @UBI_DYNAMIC_VOLUME: dynamic volume
@@ -113,7 +116,7 @@ struct ubi_mkvol_req {
*
* @vol_id: ID of the volume to re-size
* @bytes: new size of the volume in bytes
- *
+ *
* Re-sizing is possible for both dynamic and static volumes. But while dynamic
* volumes may be re-sized arbitrarily, static volumes cannot be made to be
* smaller then the number of bytes they bear. To arbitrarily shrink a static