[PATCH] [mtd, nandsim] Fix typo: struct nandsin_geometry

Ferenc Wagner wferi at niif.hu
Sat Mar 6 14:08:00 EST 2010


Actually, this embedded struct (together with nandsim_regs) could as well
remain nameless...

Signed-off-by: Ferenc Wagner <wferi at niif.hu>
---
 drivers/mtd/nand/nandsim.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index 7281000..803ae12 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -312,7 +312,7 @@ struct nandsim {
 	union ns_mem buf;
 
 	/* NAND flash "geometry" */
-	struct nandsin_geometry {
+	struct nandsim_geometry {
 		uint64_t totsz;     /* total flash size, bytes */
 		uint32_t secsz;     /* flash sector (erase block) size, bytes */
 		uint pgsz;          /* NAND flash page size, bytes */
-- 
1.5.6.5




More information about the linux-mtd mailing list