Skip to contentSkip to conversation

mtd-core: add writesize in MEMGETINFO ioctl

PATCH Applied Alexander Aring 2 participants 2 messages Oct 13, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd-core: add writesize in MEMGETINFO ioctl

Add writesize in MEMGETINFO ioctl.

---
 drivers/mtd/core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/core.c +1 -0
index 6550741..7c323a1 100644
@@ -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 */
Signature · 7 lines
1.7.12.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 3 lines · Alexander Aring

Add writesize in MEMGETINFO ioctl.

Applied, thanks

Sascha

Quoted 25 lines
---
 drivers/mtd/core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/core.c +1 -0
index 6550741..7c323a1 100644
@@ -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 */
Signature · 7 lines
1.7.12.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox