diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-29 10:58:12 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-08-01 06:04:26 -0400 |
commit | 73ff007537e591e53d070aafbfd90369c3580332 (patch) | |
tree | 25b2485b926b1c4254a6aaca25a591da7a6e7d73 /drivers/mtd/onenand | |
parent | d9b0744d6c75f7b268b728cdd1843f31bdeba311 (diff) |
[MTD] [ONENAND] onenand_sim.c: make struct info static
This patch makes the needlessly global struct info static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/onenand_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_sim.c b/drivers/mtd/onenand/onenand_sim.c index b80667309b3f..0d89ad5776fa 100644 --- a/drivers/mtd/onenand/onenand_sim.c +++ b/drivers/mtd/onenand/onenand_sim.c | |||
@@ -78,7 +78,7 @@ struct onenand_info { | |||
78 | struct onenand_flash flash; | 78 | struct onenand_flash flash; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | struct onenand_info *info; | 81 | static struct onenand_info *info; |
82 | 82 | ||
83 | #define DPRINTK(format, args...) \ | 83 | #define DPRINTK(format, args...) \ |
84 | do { \ | 84 | do { \ |