diff options
author | Alexander Aring <alex.aring@googlemail.com> | 2012-10-13 09:45:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-13 14:30:50 +0200 |
commit | 461e7d7aefb128a63b84687ba7e361473ada91c6 (patch) | |
tree | eb5b88d2cfe963a1a29f5b07046fa116d70c37a0 /drivers/mtd | |
parent | 8ce5311b203223bf806a45e50230947f82d070f2 (diff) | |
download | barebox-461e7d7aefb128a63b84687ba7e361473ada91c6.tar.gz barebox-461e7d7aefb128a63b84687ba7e361473ada91c6.tar.xz |
mtd-core: add writesize in MEMGETINFO ioctl
Add writesize in MEMGETINFO ioctl.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 65507419c4..7c323a1b3a 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -143,6 +143,7 @@ int mtd_ioctl(struct cdev *cdev, int request, void *buf) user->flags = mtd->flags; user->size = mtd->size; user->erasesize = mtd->erasesize; + user->writesize = mtd->writesize; user->oobsize = mtd->oobsize; user->mtd = mtd; /* The below fields are obsolete */ |