aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-29 10:58:12 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-08-01 06:04:26 -0400
commit73ff007537e591e53d070aafbfd90369c3580332 (patch)
tree25b2485b926b1c4254a6aaca25a591da7a6e7d73 /drivers/mtd/onenand
parentd9b0744d6c75f7b268b728cdd1843f31bdeba311 (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.c2
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
81struct onenand_info *info; 81static struct onenand_info *info;
82 82
83#define DPRINTK(format, args...) \ 83#define DPRINTK(format, args...) \
84do { \ 84do { \