Эх сурвалжийг харах

[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>
Adrian Bunk 18 жил өмнө
parent
commit
73ff007537

+ 1 - 1
drivers/mtd/onenand/onenand_sim.c

@@ -78,7 +78,7 @@ struct onenand_info {
 	struct onenand_flash	flash;
 	struct onenand_flash	flash;
 };
 };
 
 
-struct onenand_info *info;
+static struct onenand_info *info;
 
 
 #define DPRINTK(format, args...)					\
 #define DPRINTK(format, args...)					\
 do {									\
 do {									\