X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_getblockinfo.h;h=d87acbde997cf741996eec715f4579bc4802294b;hp=4cef6863fdfd31ba4e483e3562c2167fda8eeeb2;hb=2870702e0b0f4342857222a36ffcb21886c7f4bf;hpb=79d0e028d5b777b2e4cf55d96b737cb024988abe diff --git a/yaffs_getblockinfo.h b/yaffs_getblockinfo.h index 4cef686..d87acbd 100644 --- a/yaffs_getblockinfo.h +++ b/yaffs_getblockinfo.h @@ -20,7 +20,7 @@ #include "yaffs_trace.h" /* Function to manipulate block info */ -static Y_INLINE struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev +static 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) {