[MTD] [ONENAND] onenand_sim.c: make struct info static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Aug 1 06:59:01 EDT 2007
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=73ff007537e591e53d070aafbfd90369c3580332
Commit: 73ff007537e591e53d070aafbfd90369c3580332
Parent: d9b0744d6c75f7b268b728cdd1843f31bdeba311
Author: Adrian Bunk <bunk at stusta.de>
AuthorDate: Sun Jul 29 16:58:12 2007 +0200
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed Aug 1 11:04:26 2007 +0100
[MTD] [ONENAND] onenand_sim.c: make struct info static
This patch makes the needlessly global struct info static.
Signed-off-by: Adrian Bunk <bunk at stusta.de>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
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 b806673..0d89ad5 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 { \
More information about the linux-mtd-cvs
mailing list