diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-10-07 11:10:58 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-10-07 11:14:38 +1300 |
commit | f43976eda35065890e7cf0a008e9518158eb71d6 (patch) | |
tree | e19e6579100cf68632cb0981f277269e086c039e /yaffs_getblockinfo.h | |
parent | 70c6bf2ff57c8a2fb778accdd5b4227abf273674 (diff) |
yaffs Make more symbol changes
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_getblockinfo.h')
-rw-r--r-- | yaffs_getblockinfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yaffs_getblockinfo.h b/yaffs_getblockinfo.h index 781d0ab..432441b 100644 --- a/yaffs_getblockinfo.h +++ b/yaffs_getblockinfo.h @@ -20,16 +20,16 @@ #include "yaffs_trace.h" /* Function to manipulate block info */ -static Y_INLINE yaffs_BlockInfo *yaffs_get_block_info(yaffs_Device * dev, int blk) +static Y_INLINE yaffs_block_info_t *yaffs_get_block_info(yaffs_dev_t * dev, int blk) { - if (blk < dev->internalStartBlock || blk > dev->internalEndBlock) { + if (blk < dev->internal_start_block || blk > dev->internal_end_block) { T(YAFFS_TRACE_ERROR, (TSTR ("**>> yaffs: getBlockInfo block %d is not valid" TENDSTR), blk)); YBUG(); } - return &dev->blockInfo[blk - dev->internalStartBlock]; + return &dev->block_info[blk - dev->internal_start_block]; } #endif |