mtd: nandsim: fix typo: struct nandsin_geometry
Subsystems (2)
PATCH 1/2 mtd: nandsim: fix typo: struct nandsin_geometry
From: Ferenc Wagner <[email protected]>
The name was spelled wrong. We don't need an identifier on this struct anyway, so remove it altogether.
Signed-off-by Ferenc Wagner <[email protected]>
Cc David Woodhouse <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mtd/nand/nandsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/nandsim.c renamed from drivers/mtd/nand/nandsim.c~mtd-nandsim-fix-typo-struct-nandsin_geometry +1 -1
@@ -315,7 +315,7 @@ struct nandsim {union ns_mem buf;/* NAND flash "geometry" */ -struct nandsin_geometry { +struct {uint64_t totsz;/* total flash size, bytes */ uint32_t secsz;/* flash sector (erase block) size, bytes */ uint pgsz;/* NAND flash page size, bytes */
_