From: Adrian Bunk Date: Sun, 29 Jul 2007 14:58:12 +0000 (+0200) Subject: [MTD] [ONENAND] onenand_sim.c: make struct info static X-Git-Tag: v2.6.24-rc1~1364^2~40 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73ff007537e591e53d070aafbfd90369c3580332;p=linux-2.6 [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 --- 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 { \