What kernel source tree are compiling the driver under?  I had a similar problem in 2.6 until i looked under Sergy's patches for the yaffs_mtdif2.c.
 
Hope this helps,
Lance