diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 14:14:22 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-21 04:34:41 -0400 |
commit | 05a3cb7dcec5a15ed9b18a5317ba2075355c7547 (patch) | |
tree | 2bdcd3fb8271a193027c551baa5ff971fade02d4 /include/linux/mtd | |
parent | d36e59e69b8be536c55d6118630f0221cee5ccee (diff) |
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/linux/mtd')
-rw-r--r-- | include/linux/mtd/ubi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index 9838dce7e235..f636f5df883f 100644 --- a/include/linux/mtd/ubi.h +++ b/include/linux/mtd/ubi.h | |||
@@ -25,6 +25,9 @@ | |||
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <mtd/ubi-user.h> | 26 | #include <mtd/ubi-user.h> |
27 | 27 | ||
28 | /* All voumes/LEBs */ | ||
29 | #define UBI_ALL -1 | ||
30 | |||
28 | /* | 31 | /* |
29 | * enum ubi_open_mode - UBI volume open mode constants. | 32 | * enum ubi_open_mode - UBI volume open mode constants. |
30 | * | 33 | * |