]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] [ONENAND] onenand_sim.c: make struct info static
authorAdrian Bunk <bunk@stusta.de>
Sun, 29 Jul 2007 14:58:12 +0000 (16:58 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 1 Aug 2007 10:04:26 +0000 (11:04 +0100)
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>
drivers/mtd/onenand/onenand_sim.c

index b80667309b3f15b886824f21f9b84fbaa2c2eb95..0d89ad5776fa1e8cd10c79aa92a2edeac468711f 100644 (file)
@@ -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 {                                                                   \