diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-04-26 08:11:58 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-08 19:07:26 +0300 |
commit | 2d57b66a576109db6a0a538377b744c06ed47451 (patch) | |
tree | 6a48b3d39613b3ce5d2e1ebfd9752b4a41e1f522 /ubi-utils/include/libmtd.h | |
parent | 977c750a28c1a6fdf80ff2908765f2cab99740c6 (diff) |
libmtd: rename allows_bb field
This is a preparation for the coming sysfs support.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include/libmtd.h')
-rw-r--r-- | ubi-utils/include/libmtd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/include/libmtd.h b/ubi-utils/include/libmtd.h index bcc2de2..2d7d451 100644 --- a/ubi-utils/include/libmtd.h +++ b/ubi-utils/include/libmtd.h @@ -40,7 +40,7 @@ extern "C" { * @min_io_size: minimum input/output unit size * @subpage_size: sub-page size * @rdonly: non-zero if the device is read-only - * @allows_bb: non-zero if the MTD device may have bad eraseblocks + * @bb_allowed: non-zero if the MTD device may have bad eraseblocks */ struct mtd_dev_info { @@ -55,7 +55,7 @@ struct mtd_dev_info int min_io_size; int subpage_size; unsigned int rdonly:1; - unsigned int allows_bb:1; + unsigned int bb_allowed:1; }; /** |