Explorar el Código

[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 hace 18 años
padre
commit
73ff007537
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/mtd/onenand/onenand_sim.c

+ 1 - 1
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 {									\