From 73ff007537e591e53d070aafbfd90369c3580332 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Sun, 29 Jul 2007 16:58:12 +0200 Subject: [PATCH] [MTD] [ONENAND] onenand_sim.c: make struct info static This patch makes the needlessly global struct info static. Signed-off-by: Adrian Bunk Signed-off-by: David Woodhouse --- drivers/mtd/onenand/onenand_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/onenand/onenand_sim.c b/drivers/mtd/onenand/onenand_sim.c index b80667309b..0d89ad5776 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 { \ -- 2.39.5