diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-11-02 15:16:48 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-11-02 15:16:48 +1300 |
commit | 757a553001be4016e9c5d8880648d3703f34b10e (patch) | |
tree | 36d0c4b5af991bab33a848e552e46bab849ab128 /yaffs_mtdif1_single.c | |
parent | 9131fecc79ad4e5fbdb775cdc067bc80aae5adb8 (diff) |
yaffs: More clean up
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_mtdif1_single.c')
-rw-r--r-- | yaffs_mtdif1_single.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yaffs_mtdif1_single.c b/yaffs_mtdif1_single.c index 55b367b..02281fd 100644 --- a/yaffs_mtdif1_single.c +++ b/yaffs_mtdif1_single.c @@ -71,11 +71,11 @@ int nandmtd1_write_chunk_tags(struct yaffs_dev *dev, int chunk_bytes = dev->data_bytes_per_chunk; loff_t addr = ((loff_t)nand_chunk) * chunk_bytes; struct mtd_oob_ops ops; - yaffs_packed_tags1 pt1; + struct yaffs_packed_tags1 pt1; int retval; /* we assume that packed_tags1 and struct yaffs_tags are compatible */ - compile_time_assertion(sizeof(yaffs_packed_tags1) == 12); + compile_time_assertion(sizeof(struct yaffs_packed_tags1) == 12); compile_time_assertion(sizeof(struct yaffs_tags) == 8); yaffs_pack_tags1(&pt1, etags); @@ -150,7 +150,7 @@ int nandmtd1_read_chunk_tags(struct yaffs_dev *dev, loff_t addr = ((loff_t)nand_chunk) * chunk_bytes; int eccres = YAFFS_ECC_RESULT_NO_ERROR; struct mtd_oob_ops ops; - yaffs_packed_tags1 pt1; + struct yaffs_packed_tags1 pt1; int retval; int deleted; |