diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-29 16:58:12 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-08-01 12:04:26 +0200 |
commit | 73ff007537e591e53d070aafbfd90369c3580332 (patch) | |
tree | 25b2485b926b1c4254a6aaca25a591da7a6e7d73 | |
parent | [UBI] drivers/mtd/ubi/scan.c: kmalloc + memset conversion to kzalloc (diff) | |
download | linux-73ff007537e591e53d070aafbfd90369c3580332.tar.xz linux-73ff007537e591e53d070aafbfd90369c3580332.zip |
[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>
-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 { struct onenand_flash flash; }; -struct onenand_info *info; +static struct onenand_info *info; #define DPRINTK(format, args...) \ do { \ |