diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-04-01 15:22:50 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-10 14:12:06 +0100 |
commit | 0bfa4df2b65a94ce761306ab53447010b928b7dd (patch) | |
tree | 570d960d084b2f4c8cbd1ef8e1bc48d3349a8972 /drivers/mtd | |
parent | 0a382a74b677360096857bcb5288c340fca671ed (diff) | |
download | kernel_samsung_espresso10-0bfa4df2b65a94ce761306ab53447010b928b7dd.zip kernel_samsung_espresso10-0bfa4df2b65a94ce761306ab53447010b928b7dd.tar.gz kernel_samsung_espresso10-0bfa4df2b65a94ce761306ab53447010b928b7dd.tar.bz2 |
mtd: nandsim: make some structures anonymous
We do not need these names. Moreover, there are spelling typos
there: "nansin" instead of "nandsim".
This patch is just a clean up, no functional changes.
Reported-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nandsim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c index 8a0a5d1..261337e 100644 --- a/drivers/mtd/nand/nandsim.c +++ b/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 */ @@ -334,7 +334,7 @@ struct nandsim { } geom; /* NAND flash internal registers */ - struct nandsim_regs { + struct { unsigned command; /* the command register */ u_char status; /* the status register */ uint row; /* the page number */ @@ -345,7 +345,7 @@ struct nandsim { } regs; /* NAND flash lines state */ - struct ns_lines_status { + struct { int ce; /* chip Enable */ int cle; /* command Latch Enable */ int ale; /* address Latch Enable */ |