projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36c05dc
)
applied patch 11-sparse-fix--use-C99-struct-initializer.diff
author
marty
<marty>
Sun, 31 Jul 2005 04:05:14 +0000
(
04:05
+0000)
committer
marty
<marty>
Sun, 31 Jul 2005 04:05:14 +0000
(
04:05
+0000)
mtdemul/nandemul2k.c
patch
|
blob
|
history
yaffs_mtdif.c
patch
|
blob
|
history
diff --git
a/mtdemul/nandemul2k.c
b/mtdemul/nandemul2k.c
index f3c1c9a853c2377f4e5476d4c493ed4fe0cc1e40..e5217b054ff4c758ec26a334c5f6f86c5e1c8214 100644
(file)
--- a/
mtdemul/nandemul2k.c
+++ b/
mtdemul/nandemul2k.c
@@
-650,9
+650,9
@@
__setup("sizeInMB=",sizeInMB);
static struct mtd_partition nandemul2k_partition[] =
{
static struct mtd_partition nandemul2k_partition[] =
{
- {
name:
"NANDemul partition 1",
-
offset:
0,
-
size:
0 },
+ {
.name =
"NANDemul partition 1",
+
.offset =
0,
+
.size =
0 },
};
static int nPartitions = sizeof(nandemul2k_partition)/sizeof(nandemul2k_partition[0]);
};
static int nPartitions = sizeof(nandemul2k_partition)/sizeof(nandemul2k_partition[0]);
diff --git
a/yaffs_mtdif.c
b/yaffs_mtdif.c
index 2f418b9b6e36b82fd0b6e1603bf26eda80823ce8..8260f031fdea482ccd4b899a62481f86996c4896 100644
(file)
--- 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.
3 2005-07-31 04:05:14 marty
Exp $";
#ifdef CONFIG_YAFFS_MTD_ENABLED
#ifdef CONFIG_YAFFS_MTD_ENABLED
@@
-30,12
+30,12
@@
const char *yaffs_mtdif_c_version = "$Id: yaffs_mtdif.c,v 1.2 2005-07-19 20:41:5
#endif
struct nand_oobinfo yaffs_oobinfo = {
#endif
struct nand_oobinfo yaffs_oobinfo = {
-
useecc:
1,
-
eccpos:
{8, 9, 10, 13, 14, 15}
+
.useecc =
1,
+
.eccpos =
{8, 9, 10, 13, 14, 15}
};
struct nand_oobinfo yaffs_noeccinfo = {
};
struct nand_oobinfo yaffs_noeccinfo = {
-
useecc:
0,
+
.useecc =
0,
};
};