summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-29 16:58:12 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-08-01 11:04:26 +0100
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 {
struct onenand_flash flash;
};
-struct onenand_info *info;
+static struct onenand_info *info;
#define DPRINTK(format, args...) \
do { \