[patch 1/2] mtd: nandsim: fix typo: struct nandsin_geometry
akpm at linux-foundation.org
akpm at linux-foundation.org
Tue Apr 27 17:14:10 EDT 2010
From: Ferenc Wagner <wferi at niif.hu>
The name was spelled wrong. We don't need an identifier on this struct
anyway, so remove it altogether.
Signed-off-by: Ferenc Wagner <wferi at niif.hu>
Cc: David Woodhouse <dwmw2 at infradead.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---
drivers/mtd/nand/nandsim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/mtd/nand/nandsim.c~mtd-nandsim-fix-typo-struct-nandsin_geometry drivers/mtd/nand/nandsim.c
--- a/drivers/mtd/nand/nandsim.c~mtd-nandsim-fix-typo-struct-nandsin_geometry
+++ a/drivers/mtd/nand/nandsim.c
@@ -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 */
_
More information about the linux-mtd
mailing list