nand: mxs: make fake_ecc_layout static
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Oct 2015 09:26:36 +0000 (11:26 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Oct 2015 09:26:36 +0000 (11:26 +0200)
drivers/mtd/nand/mxs_nand.c

index 3c5e935..480b4a5 100644 (file)
@@ -174,7 +174,7 @@ static inline void dump_regs(void)
 }
 #endif
 
-struct nand_ecclayout fake_ecc_layout;
+static struct nand_ecclayout fake_ecc_layout;
 static int chunk_data_size = MXS_NAND_CHUNK_DATA_CHUNK_SIZE;
 static int galois_field = 13;