X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_mtdif.c;h=69d58fb96a5cf41114a6703520e706741eee7655;hp=2f418b9b6e36b82fd0b6e1603bf26eda80823ce8;hb=dcc469f5f4c2a26d7656d752739958a7e2329699;hpb=0f3e5663a6c6d1fe5b8c8abc1b44c7221c62f808 diff --git a/yaffs_mtdif.c b/yaffs_mtdif.c index 2f418b9..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.2 2005-07-19 20:41:59 charles 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,13 +29,13 @@ const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.2 2005-07-19 20:41:5 #include "linux/mtd/nand.h" #endif -struct nand_oobinfo yaffs_oobinfo = { - useecc: 1, - eccpos: {8, 9, 10, 13, 14, 15} +static struct nand_oobinfo yaffs_oobinfo = { + .useecc = 1, + .eccpos = {8, 9, 10, 13, 14, 15} }; -struct nand_oobinfo yaffs_noeccinfo = { - useecc: 0, +static struct nand_oobinfo yaffs_noeccinfo = { + .useecc = 0, };