diff options
author | Artem Bityutskiy <dedekind@infradead.org> | 2009-04-18 12:29:42 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-19 09:12:49 +0100 |
commit | e7693548950ea5801d5d8b00414aed37033cf972 (patch) | |
tree | b44abbd408ae24e5160ced2413e44b1467d03843 /drivers/mtd/ubi/kapi.c | |
parent | 2fdb11449ca82f4f1907fce4929df4e0bd267c50 (diff) |
mtd: expose subpage size via sysfs
MTD has got sysfs support in 2.6.30-rc1. But subpage size is not
exposed there - do this.
UBI utilities badly need this parameter. At the moment there is
no way to get subpage size - ioctls do not return it. And we
just got sysfs support, so we can easilly extend it with this
additional parameter.
This can be merged late in the development cycle because:
1. sysfs support has been just added - there are no users for
it so far, even.
2. UBI utilities really need this parameter, and it is better
not to delay this.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
0 files changed, 0 insertions, 0 deletions