diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 21:14:22 +0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-23 13:04:37 +0300 |
commit | cc1dd2d091b1882375f0a02b7c7d88cba128dc69 (patch) | |
tree | 953dc1b33c29d731b3c02b6b80ca0c57635f6270 /include/linux/mtd | |
parent | 4d4a91e82585eca5890454ce46931f615410cd1f (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 @@ #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. * |