From patchwork Tue Apr 27 21:14:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] mtd: nandsim: fix typo: struct nandsin_geometry From: Andrew Morton X-Patchwork-Id: 51103 Message-Id: <201004272114.o3RLEA5m020256@imap1.linux-foundation.org> To: dwmw2@infradead.org Cc: akpm@linux-foundation.org, wferi@niif.hu, linux-mtd@lists.infradead.org Date: Tue, 27 Apr 2010 14:14:10 -0700 From: Ferenc Wagner The name was spelled wrong. We don't need an identifier on this struct anyway, so remove it altogether. Signed-off-by: Ferenc Wagner Cc: David Woodhouse Signed-off-by: Andrew Morton --- 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 */