summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 18:14:22 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-21 08:34:41 (GMT)
commit05a3cb7dcec5a15ed9b18a5317ba2075355c7547 (patch)
tree2bdcd3fb8271a193027c551baa5ff971fade02d4 /include
parentd36e59e69b8be536c55d6118630f0221cee5ccee (diff)
downloadlinux-05a3cb7dcec5a15ed9b18a5317ba2075355c7547.tar.xz
UBI: introduce UBI_ALL constant
Joel will use it in his 'ubi_flush()' extention to specify all eraseblocks. Also amend the comment for UBI_UNKNOWN - it is used beyond attaching info structure now. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/ubi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
index 9838dce..f636f5d 100644
--- a/include/linux/mtd/ubi.h
+++ b/include/linux/mtd/ubi.h
@@ -25,6 +25,9 @@
#include <linux/types.h>
#include <mtd/ubi-user.h>
+/* All voumes/LEBs */
+#define UBI_ALL -1
+
/*
* enum ubi_open_mode - UBI volume open mode constants.
*