Skip to content

Commit

Permalink
mtd: nandsim: make some structures anonymous
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Artem Bityutskiy authored and David Woodhouse committed May 10, 2010
1 parent 0a382a7 commit 0bfa4df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/mtd/nand/nandsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand All @@ -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 */
Expand Down

0 comments on commit 0bfa4df

Please sign in to comment.