summaryrefslogtreecommitdiff
path: root/yaffs_mtdif.c
diff options
context:
space:
mode:
authormarty <marty>2005-07-31 04:08:08 +0000
committermarty <marty>2005-07-31 04:08:08 +0000
commit60cbacc6973295a28491aa4964d0141cc0b6cb27 (patch)
tree5ba0c7ee7a289cf9812f70a7c6e5ff027b2221c1 /yaffs_mtdif.c
parent1c4056c8ab9d9a090280567b2249f4bdd3412454 (diff)
applied patch 13-sparse-fix--make-some-symbol-static.diff
Diffstat (limited to 'yaffs_mtdif.c')
-rw-r--r--yaffs_mtdif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c
index 8260f03..69d58fb 100644
--- a/yaffs_mtdif.c
+++ b/yaffs_mtdif.c
@@ -13,7 +13,7 @@
*
*/
-const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.3 2005-07-31 04:05:14 marty Exp $";
+const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.4 2005-07-31 04:08:08 marty Exp $";
#ifdef CONFIG_YAFFS_MTD_ENABLED
@@ -29,12 +29,12 @@ const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.3 2005-07-31 04:05:1
#include "linux/mtd/nand.h"
#endif
-struct nand_oobinfo yaffs_oobinfo = {
+static struct nand_oobinfo yaffs_oobinfo = {
.useecc = 1,
.eccpos = {8, 9, 10, 13, 14, 15}
};
-struct nand_oobinfo yaffs_noeccinfo = {
+static struct nand_oobinfo yaffs_noeccinfo = {
.useecc = 0,
};