yaffs Fixed some bugs in quick tests and added some more tests.
[yaffs2.git] / yaffs_getblockinfo.h
index 1c43b6cdb5361307c74613c01e176230c51fe205..108c361261049ac2bb6ddf0df8af3f388fcdc1f0 100644 (file)
@@ -20,7 +20,8 @@
 #include "yaffs_trace.h"
 
 /* Function to manipulate block info */
-static Y_INLINE yaffs_block_info_t *yaffs_get_block_info(yaffs_dev_t * dev, int blk)
+static Y_INLINE struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev
+                                                             *dev, int blk)
 {
        if (blk < dev->internal_start_block || blk > dev->internal_end_block) {
                T(YAFFS_TRACE_ERROR,